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.
More Related Contents:
- Why is the gets function so dangerous that it should not be used?
- How do I properly compare strings in C?
- Split string with delimiters in C
- What does sizeof(&array) return?
- Efficient Algorithm for Bit Reversal (from MSB->LSB to LSB->MSB) in C
- Creating C macro with ## and __LINE__ (token concatenation with positioning macro)
- Why is it safer to use sizeof(*pointer) in malloc
- int main() vs void main() in C [duplicate]
- Shuffle array in C
- How to compare double numbers?
- Copying a part of a string (substring) in C
- Power by squaring for negative exponents
- Error: lvalue required in this simple C code? (Ternary with assignment?)
- C compiler asserts – how to implement?
- Is there a way to do currying in C?
- Read line from file without knowing the line length
- What is the difference between memmove and memcpy?
- C read binary stdin
- Hide console in C system() function, Win
- Difference between int* p and int *p declaration [duplicate]
- windows C system call with spaces in command
- Calling C functions from x86 assembly language
- Is there a built-in way to swap two variables in C?
- Is NULL in C required/defined to be zero?
- whitespace in the format string (scanf)
- How to use function srand() with time.h? [duplicate]
- Definition of global variables using a non constant initializer
- Why am i getting this warning in “if (fd=fopen(fileName,”r”) == NULL)”?
- What is the function of an asterisk before a function name?
- size of a datatype without using sizeof