enter image description hereExample: sout(OxBD); Output: 189
I don't really understand why does compiler converts different representation of a number to integer. Why not boolean? When I try to cast to double(boolean was here, wrote by mistake...) I got an error, also don't know why. With char it works. I attached the photo below.