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
08 Feb 2024 10:24 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