1.

In the following program add a statement in the function fun() such that address of a gets stored in j? #include int main() { int *j; void fun(int**); fun(&j); return 0; } void fun(int **k) { int a=10; /* Add a statement here */ }

A. **k=a;
B. k=&a;
C. *k=&a
D. &k=*a
Answer» D. &k=*a


Discussion

No Comment Found