Question: 1) After the variable declaration and initialization: char letter1 = '6' what is the variable letter1 stored as internally? 2) Assuming the declaration and initialization

1) After the variable declaration and initialization:
char letter1 = '6'
what is the variable letter1 stored as internally?
2) Assuming the declaration and initialization from problem 1), how would you edit the line below (if at all) to display a 6?
cout << letter1 << endl;

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!