Ask Question

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;

+4
Answers (1)
  1. 9 March, 17:43
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers