Answers for "c++ int - float"

C++
4

int to float c++

int a = 3;
float b = (float)a;
Posted by: Guest on February-28-2020
1

float in c++

float contains less storage than a double. 
float p = 25.0;
double p = 25.0;
Posted by: Guest on July-06-2020

Browse Popular Code Answers by Language