#include using namespace std ; int main() { char ch1 ; int x1 ; x1 = 1.9f ; cout << "x1:" << x1 << endl ; ch1 = x1 ; //The cast is necessary otherwise a character is printed //out . cout << "ch1:" << (int)ch1 << endl ; x1 = 2500 ; ch1 = x1 ; cout << "ch1:" << (int)ch1 << endl ; return 0 ; }