Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
It's a floatfloat, so use %f.
float
%f
printf("%f" , f);
If you don't, it's an undefined behaviour. To understand you can try to cast a int with value -1 to an unsigned int.
You will get an huge value.
It's a float, so use %f. If you don't, it's an undefined behaviour.
It's a float, use
If you don't it's an undefined behaviour. To understand you can try to cast a int with value -1 to an unsigned int.
It's a floatfloat, so use %f%f. If you don't, it's an undefined behaviour.
It's a float, use %f. If you don't it's an undefined behaviour