le2laCallillamegmou
le2laCallillamegmou le2laCallillamegmou
  • 23-07-2016
  • Computers and Technology
contestada

Given the following code, what will it display?

int numbers[ ] = {99, 87, 66, 55, 101 };
cout << numbers[3] << endl;

Respuesta :

padawan
padawan padawan
  • 24-07-2016
number#4 = 55 ; start counting from 0
Answer Link
meerkat18
meerkat18 meerkat18
  • 29-07-2016
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
Answer Link

Otras preguntas

which project came first: Gemini, Space Shuttle, Mercury, Apollo?
how does groundwater cause erosion and deposition?
is flower color a charecteristics or a traits
√64/25 how u solve this step by step
What was Memorial Day's called previously?
What Does It Mean to Be "In a Rut"?Help please
how did spartans train boys and girls so they could protect the city-state?
Can you write an expression for the number of miles george travels in h hours, George drives 45 mi/h?
When 0.2mol of calcium reacts with 880g of water 2.24L of hydrogen gas form at STP How would the amount of hydrogen produced change if the volume of water was d
why was boise chosen for Idaho's capital