> Help me for this for loop and using pass by reference/value?

Help me for this for loop and using pass by reference/value?

Posted at: 2014-12-18 
There is no "passing" going on of either type.

You probably want to nest the 2nd loop inside the first loop.

You should probably start with smaller loop limits while you are working it out.

for (int a=0; a<=4; a++) {

for (int b=65; b<70; b++) cout << a << ", " << b << "; ";

cout << endl;

}

How do I keep the value of a from the first for loop and have the same value of a for the second for loop... How do I do this with passing by reference?

for(a=0; a<=100; a++)

{ cout<
}

for(b=0;b<100;b++

{cout<
cout<
a++}