Question: What will happen if a variable of type char called ch is typecasted as an integer and cout-ed? cout < < (int) ch; The character
What will happen if a variable of type char called ch is typecasted as an integer and cout-ed? cout << (int) ch; The character will be displayed The cout statement will produce a run-time error The ASCII numeric value of the character will be displayed The cout statement will not compile
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
