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

What will be the output of the following code: int i = 0; while (i < 3) { cout << i << " "; i++; } in C++?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C code? #include <stdio.h> int main() { enum {ORANGE = 5, MANGO, BANANA = 4, PEACH}; printf("PEACH = %d\n", PEACH); } What is the purpose of the seq() function in R? Given delta[4] is a global array and number of elements in the sorted array is 10, what are the values in the delta array? Which of the following statements is true regarding arrays in C#? The data structure required to check whether an expression contains a balanced parenthesis is?