What is numeric promotion? Ans. 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 converted to long values, if necessary. The long and float values are converted to double values, as required. - Study24x7
Social learning Network
02 Nov 2023 11:12 AM study24x7 study24x7

What is numeric promotion? Ans. 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 ...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles