CPA-21-02 Web TestEngine demo

Exit VCEDump CPA-21-02 CPA - C++ Certified Associate Programmer
Question 30 of 39
0% complete
Q30 Single choice

What is the output of the program given below?

#include <iostream>

using namespace std;

int main (int argc, const char * argv[])

{

int i=10;

{

int i=0;

cout<<i;

}

{

i=5;

cout << i;

}

cout<<i;

return 0;

}

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in