Vidyalelo
C Programming · Q56

Structure and Union

Programming · C Programming · question 56

Q56

What will be the output of the following C code? #include void main() char *a[3][3] = "hey", "hi", "hello", "his", "her", "hell" , "hellos", "hi's", "hmm"; printf("%s", a[1][1]);

A.
her
Answer
B.
hi
C.
Compile time error
D.
hi's

Answer: Option A

Solution

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