All pastes #12379 Raw Edit

Untitled

public c v1 · immutable
#12379 ·published 2005-05-22 16:52 UTC
rendered paste body
#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;}