Ask Question
29 March, 22:57

True/False: If a C+ + program contains the following array definition int score[10]; the following statement would store 100 in the first array element: score[1] = 100;

+2
Answers (1)
  1. 30 March, 02:46
    0
    False.

    Explanation:

    score[10];

    score[1]=100;

    This statement will store 100 in the second position of the array because the indexing of the array starts from 0 to size-1 in this case indexing is from 0 to 9. So the element stored at position 0 is the first element in the array score 100 is in the second position. So we conclude that the answer is False.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “True/False: If a C+ + program contains the following array definition int score[10]; the following statement would store 100 in the first ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers