, , . unsigned int int 2 . , : bool, short, char. int.
( ).
. . , .
int I=27;
short S=2;
float F = 22.3;
bool B = false;
I-F+S*B
? ³ , . int-float+short*bool. , short bool int.
int-float+int*int. float = 0. int, . int-float float. :
- , .
float.
float rez = I-F+S*B; // 27-22.3+*0
cout << rez << endl; // = 4,7
, .
.
, .
int i=3;
int j=2;
cout << i / j; // = 1. int
, float. :
int i=3;
int j=2;
cout << (float) i / j; // 1.5
. . /. , .
, .