AMD Interview Question

Using c to write a sum solution code