float f=55;
printf(“value of f is %d\n”,f);
printf(“value of f is %f\n”,f);
printf(“value of f is %c\n”,f);
what will this print–> with explaination please
float f=55;
printf(“value of f is %d\n”,f);
printf(“value of f is %f\n”,f);
printf(“value of f is %c\n”,f);
what will this print–> with explaination please
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
0
55.000
nothing
why?
first of all there is need to get ouput of firt printf u must cast it into int.
and last printf print nothing because it has the value 0 ascii so it cant print any thing.
we can not see the memory one by onebyte of the float value.how it stores inot the memory