Home » C Programming » Pointers

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 */ }

Correct Answer: *k=&a

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion