Programming - Arrays - Discussion

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

 



Q.

Suppose you have the following declaration:
double salesData[1000];
Which of the following ranges is valid for the index of the array salesData?
(i) 0 through 999
(ii) 1 through 1000                         


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