I have a weird problem about working with integers in C++.
I wrote a simple program that sets a value to a variable and then prints it, but it is not working as expe
cout is treating aa as char of ASCII value 5 which is an unprintable character, try typecasting to int before printing.
cout
aa
char
5
int