MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is correct way to define the function fun() in the below program? #include int main() { int a[3][4]; fun(a); return 0; } |
| A. | void fun(int p[][4]) { } |
| B. | void fun(int *p[4]) { } |
| C. | void fun(int *p[][4]) { } |
| D. | void fun(int *p[3][4]) { } |
| Answer» B. void fun(int *p[4]) { } | |