Can anybody tell me why this is happening in c language

I am not sure what exactly are you trying to accomplish.

If you want to do the sum, you just have to do it after the comma:

from this:

printf("%f"+36,a);

to this:

printf("%f",a+36);

The same for the other sum.

Leave a Comment