1.

What is the correct syntax to send a 3-dimensional array as a parameter? (Assuming declaration int a[5][4][3];)(a) func(a);(b) func(&a);(c) func(*a);(d) func(**a);The question was posed to me during a job interview.This is a very interesting question from Multidimensional Arrays topic in section Pointers and Arrays in C of C

Answer» RIGHT CHOICE is (a) FUNC(a);

The EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions