Untitled
public c v1 · immutable#include <stdlib.h>#define SIZE 10void alloc_int (int *to_alloc, size_t size){ to_alloc = malloc (size);} void free_int (int *to_free){ free (to_free);}int main (){ int *foo [SIZE]; alloc_int (foo [0], SIZE); free_int (foo [0]); return 0;}