Home / MCQ Bank / Computer
Computer Control Flow Statements In C Plus Plus Difficulty: Medium

What is the output of the following code: for (int i = 0; i < 5; ++i) { if (i == 3) continue; cout << i << " "; } in C++?

Select the correct option to test your answer:

More Computer Questions

This is the menu command used to apply a design template in PowerPoint. In the following declaration of bit-fields, the constant-expression specifies ______ struct-declarator: declarator type-specifier declarator opt : constant-expression What will be the output of the following C# code? class maths { public maths() { Console.WriteLine("constructor 1 :"); } public maths(int x) { int p = 2; int u; u = p + x; Console.WriteLine("constructor 2: " +u); } } class Program { static void Main(string[] args) { maths k = new maths(4); maths t = new maths(); Console.ReadLine(); } } What does showPosition() returns? Which of the following is a communication service provided by the internet?