Question: Suppose that gamma is an array of 5 0 elements of type int and j is an int variable. Which of the following for loops
Suppose that gamma is an array of elements of type int and j is an int variable. Which of the following for loops sets the subscript of gamma outofrange?
a
for j ; j ; j
cout gammaj;
b
for j ; j ; j
cout gammaj;
c
for j ; j ; j
cout gammaj;
d
for j ; j ; j
cout gammaj;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
