Vidyalelo
C Programming · Q112

Pointer

Programming · C Programming · question 112

Q112

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

A.
Nothing
Answer
B.
Compile time error
C.
Junk
D.
8

Answer: Option A

Solution

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