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, 24.06.2019 13:00
Which best describes the condition under which the unicode output is the same as plain text ?
Answers: 1
question
Computers and Technology, 25.06.2019 08:50
1. define independent-set as the problem that takes a graph g and an integer k and asks whether g contains an independent set of vertices of size k. that is, g contains a set i of vertices of size k such that, for any v and w in i, there is no edge (v,w) in g. show that independent-set is np-complete.
Answers: 3
question
Computers and Technology, 25.06.2019 09:00
What are some of the things many ctsos do for their members ?
Answers: 1
question
Computers and Technology, 25.06.2019 15:00
Apicture of kitchen sink draining system
Answers: 2
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
Biology, 25.02.2021 06:10
question
Mathematics, 25.02.2021 06:20
Questions on the website: 13722360