Vidyalelo
C Programming · Q47

Structure and Union

Programming · C Programming · question 47

Q47

What will be the output of the following C code? #include void main() char *a[3] = "hello", "this"; printf("%s", a[1]);

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

Answer: Option C

Solution

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