Q71
What will be the output of the following C++ code? #include #include using namespace std; int main () int array[] = 0, 2, 4, 6, 7, 5, 3; int n, result = 0; for (n = 0; n < 8; n++) result += array[n]; cout << result; return 0;
A.
25
B.
26
C.
27
AnswerD.
21
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board