developersaumya
1
Q:

cast from float to long c

float a = 1.0;
long b = (long)a // variable b now equals variable a which has been cast to long
0

New to Communities?

Join the community