What is numeric promotion

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type,so that integer andfloating-point operations may take place. In numerical promotion, byte, char, and shortvalues areconverted to int values. The int values are also converted to long values, if necessary.The long and floatvalues are converted to double values, as required.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions