C++ Institute CPA-21-02 Question Answer
What is the output of the program given below?
#include
using namespace std;
int main (int argc, const char * argv[])
{
int i=10;
{
int i=0;
cout<
}
{
i=5;
cout << i;
}
cout<
return 0;
}
C++ Institute CPA-21-02 Question Answer
What is the output of the program given below?
#include
using namespace std;
int main (int argc, const char * argv[])
{
int i=10;
{
int i=0;
cout<
}
{
i=5;
cout << i;
}
cout<
return 0;
}