0

What is the output of this code in C++???

#include <iostream> using namespace std; int main() { int i = 1; while (i) { if (i == 2) continue; cout << "Hi" << "\t"; i++; } }

11th Feb 2023, 1:25 PM
Micheal Jabbour
Micheal Jabbour - avatar
3 Answers
+ 1
What has loadshedding to do with that? The while-loop is an infinite loop, in case you mean that.
11th Feb 2023, 4:42 PM
Lisa
Lisa - avatar
+ 1
You can find out what he output is by running the code.
11th Feb 2023, 2:47 PM
Lisa
Lisa - avatar
0
Lisa Thank you But I had a trouble with Loadshedding đŸ˜Ș
11th Feb 2023, 4:37 PM
Micheal Jabbour
Micheal Jabbour - avatar