Q161
What will be the output of the following C code? #include int *m(); void main() int *k = m(); printf("hello "); printf("%d", k[0]); int *m() int a[2] = 5, 8; return a;
A.
hello 5 8
B.
hello 5
C.
hello followed by garbage value
AnswerD.
Compilation error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board