Programming - Arrays - Discussion

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

 



Q.

Consider the following declaration:
int alpha[5] = {3, 5, 7, 9, 11};
Which of the following statements is equivalent to this statement?
(i) int alpha[] = {3, 5, 7, 9, 11};
(ii) int alpha[5] = {3 5 7 9 11};                         


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