Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Making confusion

[b]
program
---------
printf("

Size of float is %d ",sizeof(float));
printf("
size of float is %f",sizeof(float));

output
--------
Size of float is 4
size of float is 256.000000[/b][size=3][/size]

[b]
I made only a small change, %d to %f ...they why
Answer changing from 4 to 256.......???[/b][color=Red][/color]

Sign In or Register to comment.