Q958
What will be the output of the following C++ code? #include using namespace std; int main() int i; for (i = 0; i < 10; i++); cout << i; return 0;
A.
0123456789
B.
10
AnswerC.
012345678910
D.
compile time error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board