Question: Consider the following C++ code. What is the character in a,b,c and the decimal integer value in d at the end of the code? Show

Consider the following C++ code. What is the character in a,b,c and the decimal integer value in d at the end of the code? Show the answer in the given order and separate them with comma. Do NOT enclose the characters by quotes. 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. unsigned char a = '*'; char b; char c; unsigned char d = '2'; a = a + 49; b = 108 - '>'; c = 'd' - '@'; d = d + '$';

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!