Answers for "what happens when we put some float values and declare it as int in c++"

C++
0

float to int c++

float var_a = 9.99;
int   var_b = (int)var_a;
Posted by: Guest on December-26-2021

Code answers related to "what happens when we put some float values and declare it as int in c++"

Browse Popular Code Answers by Language