@ -10,4 +10,10 @@ int* addition_integer(int num1, int num2) {
int* result = malloc(sizeof(int));
*result = num1 + num2;
return result;
}
double* addition_double(double num1, double num2) {
double* result = malloc(sizeof(double));
*result = num1+num2;
@ -3,4 +3,6 @@
int* addition_integer(int, int);
double* addition_double(double, double);
#endif //THEADMIRALS_ARITHMETICADDITION_H