1.

What will be the output of the program ?

#include<stdio.h>
void fun(int **p); int main()
{ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 8, 7, 8, 9, 0}; int *ptr; ptr = &a[0][0]; fun(&ptr); return 0;
}
void fun(int **p)
{ printf("%d n", **p);
}

A. 1
B. 2
C. 3
D. 4
Answer» B. 2


Discussion

No Comment Found