You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
253 B
17 lines
253 B
|
|
|
|
#include "arithmeticMultiplication_Int.h"
|
|
#include <stdlib.h>
|
|
|
|
int* multiplication_integer(int a, int b) {
|
|
int *result = (int*)malloc(sizeof(int));
|
|
if (result == NULL) {
|
|
|
|
return NULL;
|
|
}
|
|
|
|
*result = a * b;
|
|
|
|
return result;
|
|
}
|
|
|