What is the output of the following code segment? int n = 0; for (int k = 0; k< 2; k++) {n=n + 2; } cout << n; oo 0 1 O O O
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the output of the following code segment? int n = 0; for (int k = 0; k< 2; k++) {n=n + 2; } cout ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » What is the output of the following code segment? int n = 0; for (int k = 0; k< 2; k++) {n=n + 2; } cout << n; oo 0 1 O O O