1.

What will be the output of the following C code?
#include <stdio.h>
struct
{
int n;
char m;
} stru;
int stru = 110;
int main()
{
stru.n = 110;
printf("%d %d n", stru.n, stru);
}

A. 110 110
B. Compilation Error
C. Garbage value
D. Undefined behaviour
E. None of these
Answer» C. Garbage value


Discussion

No Comment Found

Related MCQs