0

Is there any list what you get when you combine two fundamentals in c++ for example (float)*(int)=(float)

14th May 2018, 9:13 PM
Salt MyMan
Salt MyMan - avatar
2 ответов
+ 2
If either is long double the other is promoted to long double If either is double the other is promoted to double If either is float the other is promoted to float If either is long long unsigned int the other is promoted to long long unsigned int If either is long long int the other is promoted to long long int If either is long unsigned int the other is promoted to long unsigned int If either is long int the other is promoted to long int If either is unsigned int the other is promoted to unsigned int If either is int the other is promoted to int Both operands are promoted to int
14th May 2018, 9:18 PM
Andrea Simone Costa
Andrea Simone Costa - avatar
0
ty <3
4th Jun 2018, 4:26 PM
Salt MyMan
Salt MyMan - avatar