Ask Question
27 September, 07:38

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

cout << i + 1;

cout << i;

+1
Answers (1)
  1. 27 September, 11:09
    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?
Get an answer to your question ✅ “What will the following code fragment print? for (i = 0; i < 9; i++); cout ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers