What is numeric promotion

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type,so that integer and floating-point operations may take place. In numerical promotion,byte, char, and short values are converted to int values. The int values are also convertedto long values, if necessary. The long and float values are converted to double values, asrequired.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions