Vidyalelo
C Programming · Q232

Pointer

Programming · C Programming · question 232

Q232

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

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

Answer: Option B

Solution

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