Vidyalelo
C Programming · Q94

Structure and Union

Programming · C Programming · question 94

Q94

What will be the output of the following C code? #include struct student char *c; struct student point; ; void main() struct student s; s.c = "hello"; printf("%s", s.c);

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

Answer: Option D

Solution

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