What is process of type promotion? What is integral promotion?

Q33. What is the process of type promotion? What is integral promotion?

Ans. Conversion of all operands upto the type of the largest operand is called Type Promotion.

Conversion of char, short, enumerator  and int  into  int or unsigned int depending upon which of the two (int or unsigned int) can represent all values of the original type is called Integral Promotion.

Leave a Reply

Your email address will not be published. Required fields are marked *

61 Views
%d bloggers like this: