Question: Using c++ Although it might seem odd, the char data type (which we use for storing character data-i.e. the symbols on a keyboard) is actually

Using c++
 Using c++ Although it might seem odd, the char data type

Although it might seem odd, the char data type (which we use for storing character data-i.e. the symbols on a keyboard) is actually a variant of the integer data type: it is just a number representing the ASCII code for characters. Since it only occuples 1 byte (8-bits) of memory, it can only store very small numbers, from-128 to +127 (the positive numbers represent the standard keyboard symbols letters, numbers, punctuation, etc). Since it is just a number, we can do some interesting character manipulations with arithmetic-which will come in handy later on when we try our hand at cryptography-but for now, we will just do some really simple operations. First, try declaring a char variable and initializing it to different values( 32, and

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!