Vidyalelo
C Programming · Q115

Structure and Union

Programming · C Programming · question 115

Q115

What will be the output of the following C code? #include struct student int no; char name[20]; void main() struct student s; s.no = 8; printf("hello");

A.
Compile time error
Answer
B.
Nothing
C.
hello
D.
Varies

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board