Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> using namespace std; int main () { int n; for (n = 5; n > 0; n--) { cout << n; if (n == 3) break; } return 0; }

Select the correct option to test your answer:

More Computer Questions

To change the size of an image in HTML, use A computer is capable of performing almost any task provided, that it can be? The tracks on a disk which can be accessed without repositioning the R/W heads is How many non-overlapping channels are available with 802.11a? What will be the output of the following Python code? True = False while True: print(True) break