Question: Given the following code segment, what does it print? 1. int list [5]; 2. list [4]=10; 3. for (int i=3;i>=;i ) 4. { 5. list
1. int list [5]; 2. list [4]=10; 3. for (int i=3;i>=;i ) 4. \{ 5. list [i]=3list[i+1]; 6. list[i+1]=ilist[i]; 7. 3 8. cout i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
