In C++: If the keyboard input is: A B D, what is the output for the following program and why? (ASCII value of 'A' = decimal 65 = hexa 41, 'a'= decimal 97 = hexa 61 First make a guess what ouput will...


In C++:


If the keyboard input is: A B D, what is the output for the following program and why?


(ASCII value of 'A' = decimal 65 = hexa 41, 'a'= decimal 97 = hexa 61


First make a guess what ouput will result . Run and compare.



#include


main()


{


char x, y, z;


cin >> x >> y >> z;


cout < x=""><>


cout < (int)="" y=""><>


cout < (int)="" z=""><>


}



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here