I don't understand why I'm getting this output...
Here's the program
#include <stdio.h>
int main()
{
float x;
double y;
x = 145678.999817;
y = 145678.999817;
printf("Float is %f and double is %f\n", x, y);
x = 456.9998651;
y = 456.9998651;
printf("Float is %f and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.