Why does error come in line 5?

"/* 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;
} "

because A is not defined ,we don’t know what is A
but if we write
signed Nagarro =‘A’;
this will not give error

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.