Q72
What will be the output of the following C code? #include void main() char *a[10] = "hi", "hello", "how"; int i = 0; for (i = 0;i < 10; i++) printf("%s", *(a[i]));
A.
segmentation fault
AnswerB.
hi hello how followed by 7 null values
C.
10 null values
D.
depends on compiler
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board