Vidyalelo
C Programming · Q149

Pointer

Programming · C Programming · question 149

Q149

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

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

Answer: Option C

Solution

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