1 2 3 4 5 6 7 8 9 10 11 12
#include <stdlib.h> #include "main.h" #include "dynamicInt.h" int* newInt(int x) { int *new; new = malloc( sizeof(int) ); *new = x; return new; }