DEV Community

Dhanashree Rugi
Dhanashree Rugi

Posted on

1 1

Puzzle-4

Can you guess the output without the help of code editor ?

Comment the output in the below comment section.

#include <stdio.h>
void func(struct tag v);
int main()
{
    struct tag
    {
        int i;
        char c;
    };
    struct tag var = {2, 'd'};
    func(var);
}

void func(struct tag v)
{
    printf("%d\n %c", v.i, v.c);
}
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
gohan_b82aa4c1be2122176cb profile image
Gohan

The game challenges players squardle help to think critically, form words creatively, and use strategic moves to outsmart the puzzle.

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay