added code to explain the c++ type conversoin