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, 22.06.2019 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Adrawing that places all lines parallel to the z axis at an angle from the horizon is 99 ! a. an oblique drawing b. a perspective drawing c. an auxiliary view d. a one-point perspective drawing
Answers: 2
question
Computers and Technology, 24.06.2019 15:30
What is not a type of text format that will automatically be converted by outlook into a hyperlink?
Answers: 1
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
History, 08.04.2020 00:52
question
History, 08.04.2020 00:52
question
Mathematics, 08.04.2020 00:52
question
Biology, 08.04.2020 00:52
Questions on the website: 13722367