Page 1 of 1

What is the output of the program given below?#include <iostream>using namespace std;int main (int argc, const char * ar

Posted: Wed Aug 03, 2022 9:20 am
by answerhappygod
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;}

A. 1010
B. 101010
C. 055
D. None of these