Trace the following program and show the output ? #include void main () { const int size =4; int r1[size]; int i; for (i=0;i


Trace the following program and show the output ?<br>#include <iostream.h><br>void main ()<br>{<br>const int size =4;<br>int r1[size];<br>int i;<br>for (i=0;i<2;i++)<br>r1[i]= 2 *i + 3;<br>r1[3]=2 * i + i;<br>r1[2]=r1[3];<br>for (i=0;i<size;i++)<br>cout<<r1[i]<<

Extracted text: Trace the following program and show the output ? #include void main () { const int size =4; int r1[size]; int i; for (i=0;i<2;i++) r1[i]="2" *i="" +="" 3;="" r1[3]="2" *="" i="" +="" i;="" r1[2]="r1[3];" for="" (i=""><><" ";="" select="" one:="" o="" a.="" 0="">

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here