DEV Community

Dhanashree Rugi
Dhanashree Rugi

Posted on • Updated on

Puzzle-3

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

Comment the output in the below comment section.

#include <stdio.h>
struct student {char name[20]; int age;};
int main()
{
    struct student stu1 = {"anita", 10}, stu2 = {"anita", 20};
    if(stu1 == stu2)
       printf("Same");
    else
       printf("Not same");
    return 0;
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)