Programming - Arrays - Discussion

You Are Here :: Home > C++ Language > Arrays - Discussion

 



Q.

Which of the following function prototypes correctly declares a one-dimensional array and its size as formal parameters?
(i) void printList(int& [], int);
(ii) void printList(int list, int);                         


A. Only (i) B. Only (ii)
C. Both (i) and (ii) D. None of these

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion