#include "stdlib.h" #include "arithmeticMultiplication_Double.h" double* multiplication_double(double a, double b) { double* result = (double*)malloc(sizeof(double)); if (result == NULL) { return NULL; } *result = a * b; // we multiply a times b and the result gets saved in *result return result; }