0
Is it not possible to do explicit convertion in printf with float
#include <stdio.h> int main() { int i=1; printf("%f",i); return 0; }
3 Respostas
0
Explicit cast would be:
printf("%f", (float) i);
0
why does the above program gives 0?
0
Because the implict cast is invalid.