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; }
1.hello 5 8
2.hello 5
3. hello followed by garbage value
4.Compilation error
Posted Date:-2022-03-20 12:19:41