Which of the following is a correct way to define the function fun() in the program below?

Which of the following is a correct way to define the function fun() in the program below?
#include
#include #include using namespace std; int main()
{ int a[2][2]; fun(a); return 0; }
A. void fun(int *p[2]) {}
B. void fun(int *p[2][2]) {}
C. void fun(int *p[][2]) {}
D. void fun(int p[][2]) {}

Download Printable PDF. VALID exam to help you PASS.

Posted in: CPA

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.