Suppose that gamma is an array of 50 components of type int and j is an int variable. Which of the following for loops sets the index of gamma out of bounds?
A)
for (j = 0; j <= 49; j++)
cout << gamma[j] << " ";
B)
for (j = 1; j < 50; j++)
cout << gamma[j] << " ";
C)
for (j = 0; j <= 50; j++)
cout << gamma[j] << " ";
D)
for (j = 0; j <= 48; j++)
cout << gamma[j] << " ";