DEV Community

Dhanashree Rugi
Dhanashree Rugi

Posted on

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.