Hello ,
I know this is a very frequent question but I couldnt get an answer yet from FAQ or net. At least please give me a link or sth. Thank you..
Hello ,
I know this is a very frequent question but I couldnt get an answer yet from FAQ or net. At least please give me a link or sth. Thank you..
I don't even know what you're asking.
There. You have the difference of two floats.Code:float a = 5, b = 6; float c = b - a;
I am sorry I forgot to elaborate the question =). What is the difference between the data type double and the data type float?
Doubles are generally 64-bit and hence can cover more numbers. Floats are generally 32-bit.
Range and precision - doubles have more of both.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.