Whenever data types are mixed in an expression then C++ performs the conversion automatically. Here smaller type is converted to wider type.
Example : in case of integer and float integer is converted into float type.
Example : in case of integer and float integer is converted into float type.
No comments:
Post a Comment