Programming - Arrays - Discussion

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

 



Q.

What is the output of the following C++ code?
int list[5] = {0, 5, 10, 15, 20};
int j;
for(j = 0; j < 5; j++)
cout<cout<                        


A. 0 1 2 3 4 B. 0 5 10 15 20
C. 0 5 10 15 D. None of these

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion