#include <iostream> using namespace std; int main() { int a ; cin>>a; if(a)int b = 1; else char b ='a'; cout<<b; return 0; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:9:7: error: 'b' was not declared in this scope cout<<b; ^
Standard output is empty