Multiple Choice
What is the value of alpha[2] after the following code executes? int alpha[5];
int j;
for (j = 0; j < 5; j++)
alpha[j] = 2 * j + 1;
A) 1
B) 4
C) 5
D) 6
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: Consider the statement int list[10][8];.Which of the
Q13: If an array index goes out of
Q16: What is the output of the
Q17: In C++, the null character is represented
Q18: For a list of length n, the
Q20: A data type is called _ if
Q23: The _ sort algorithm finds the location
Q28: The array index can be any integer
Q38: When you pass an array as a
Q40: Consider the following declaration: int alpha[5] =