#include "arithmeticAddition.h" #include #include #include int* addition_integer(int num1, int num2) { if ((num2 > 0 && num1 > INT_MAX - num2) || (num2 < 0 && num1 < INT_MIN - num2)) { return NULL; } int* result = malloc(sizeof(int)); *result = num1 + num2; return result; }