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);
}
Top comments (0)