Q.

If a function is declared as void fn(int *p), then which of the following statements is valid to call function fn?

A. fn(x) where x is defined as int x;
B. fn(x) where x is defined as int *x;
C. fn(&x) where x is defined as int *x;
D. fn(*x) where x is defined as int *x;
Answer» B. fn(x) where x is defined as int *x;
976
0
Do you find this helpful?
5

Discussion

No comments yet