Programming - Arrays - Discussion

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

 



Q.

Which of the following about arrays as parameters is true?
(i) Arrays are passed by reference only.
(ii) When we declare an array as a formal parameter we do not attach & after the data type of the array component.                         


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

Answer: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion