Ask Question
19 September, 02:33

What will the following code fragment print? for (i = 0; i < 9; i++);

cout << i + 1;

cout << i;

+3
Answers (1)
  1. 19 September, 03:16
    0
    This code will print 109.

    Explanation:

    Condition is the integer i is declared before the loop then the code will print 109. 10 because of the statement cout<
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What will the following code fragment print? for (i = 0; i < 9; i++); cout ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers