1.

What will be the output of the following C code?
#include <stdio.h>
int *fun();
void main()
{
int n = A();
printf("%d", n);
}
int *fun()
{
int num[5] = {51, 18, 25};
return num;
}

A. 51 18 25
B. 25 18 51
C. 18 25 51
D. Compilation Error
E. None of these
Answer» B. 25 18 51


Discussion

No Comment Found

Related MCQs