Examlex

Solved

What Will the Following Code Output

question 31

Multiple Choice

What will the following code output?
Int *numbers = new int[5];
For (int i = 0; i <= 4; i++)
*(numbers + i) = i;
Cout << numbers[2] << endl;


Definitions:

Related Questions