1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
struct Clothes
{
int size;
char Brand_name[50];
};
struct Clothes c;
c.size = 40;
printf("%d", c.size);
}

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


Discussion

No Comment Found

Related MCQs