Ask Question

Given the following code, what will it display?

int numbers[ ] = {99, 87, 66, 55, 101 };

cout << numbers[3] << endl;

+1
Answers (2)
  1. 16 August, 17:52
    0
    Number#4 = 55; start counting from 0
  2. 16 August, 18:00
    0
    We are given the following set : int numbers[ ] = {99, 87, 66, 55, 101 }; where the numbering of each elements starts from zero to four. In this case, zero is 99, one is 87, two is 66, three is 55 and four is 101. When cout << numbers[3] << endl; the answer is 55
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Given the following code, what will it display? int numbers[ ] = {99, 87, 66, 55, 101 }; cout ...” 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