0 votes
in General Knowledge by (773k points)
float a = 64.2
double b = 64.2
double c = (double)a

What does c = ?

1 Answer

0 votes
by (773k points)
Best answer
We can't say.

According to IEEE 754, a = 0x42806666 and b =

After executing and checking the value of c, we get c = 0x40500cccc0000000, which isn't what we expected.
Welcome to the Answerine , a great place to find, read and share your favorite questions and answers.