integral promotion question.

Mar 14, 2014 at 9:00am
If the expression is:
1
2
short a=11;
short b=a;

In the second expression, will a first be converted to int type then converted back to short? just curious.
Mar 14, 2014 at 9:42am
Both a and b are of same type, so there should be no reason to convert.
Topic archived. No new replies allowed.