Question
The output of the code below is int *m(); void main() { int *k = m(); printf("hello "); printf("%d", k[0]); } int *m() { int a[2] = {5, 8}; return a; }
Answer: Option C
Was this answer helpful ?
None.
Was this answer helpful ?
More Questions on This Topic :
Question 4. functions can return structure in c? ....
Question 7. Functions in C are ALWAYS: ....
Question 8. Global variables are: ....
Submit Solution