I have a bit of C code, which goes exactly like this:
short int fun16(void){
short int a = 2;
short int b = 2;
return a+b;
}
Wh
From The C Programming Language section 2.7 Type Conversion
long double
, convert the other to long double
.double
, convert the other to double
.float
, convert the other to float
.char
and short
to int
.long
, convert the other to long
.