2. Explain the output of the following statements int m = 65667; char c1 = m; cout << int(c1) << endl;

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 13SA
icon
Related questions
Question

Please show me step by step conclusion.

2. Explain the output of the following statements

int m = 65667;
char c1 = m;
cout << int(c1) << endl;

2. Explain the output of the following statements
int m = 65667;
char c1 = m;
cout << int(c1) << endl;
Transcribed Image Text:2. Explain the output of the following statements int m = 65667; char c1 = m; cout << int(c1) << endl;
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning