Question: An unsigned char typed variable in C++ has 8 bits of storage. When a character is assigned to it, the variable has the ASCII code
An "unsigned char" typed variable in C++ has 8 bits of storage. When a character is assigned to it, the variable has the ASCII code of the character.
char a = 'F'; unsigned char b; unsigned char c; unsigned char d = 'T'; a = a + 18; b = 123 - 'D'; c = 'e' - ':'; d = d + ''';
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
