subject

After execution of the code fragment int temp[5]; int i; for (i = 0; i < 5; i++) { temp[i] = i + 2; if (i > = 3) temp[i-1] = temp[i] * 3; } cout < < temp[3]; what is displayed on the screen? can someone me what will the output be i got 6 but i dont know if im right

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
question
Computers and Technology, 24.06.2019 05:50
What all vehicles has tesla inc. created over the years
Answers: 3
You know the right answer?
After execution of the code fragment int temp[5]; int i; for (i = 0; i < 5; i++) { temp[i] =...
Questions
question
English, 14.04.2021 03:30
question
Mathematics, 14.04.2021 03:30
Questions on the website: 13722363