"/* The output of the following program is ? */ 1) #include
2) using namespace std;
3) int main(){
4) signed CodingBlocks = 9;
5) signed Nagarro = A;
6) signed char HackerBlocks = ‘A’;
7) cout<<CodingBlocks<<endl;
8) cout<<HackerBlocks<<endl;
9) return 0;
} "
A 9
Error in line 4
Error in line 5
9 A
Doubt 1: Are we ignoring the missing in line 1 (I think it’s a typo) ?
Doubt 2: Is signed a data type on its own? I mean don’t we use it as an optional prefix to primitive data types?