Novice question.
Zev Sero
zvs at bby.oz.au
Fri Nov 16 10:17:59 AEST 1990
gkt> void **temporaries = (void **)calloc(TempCount,sizeof(void *));
Just a silly question---is there a reason that you are using calloc
instead of malloc? Why waste whole nanoseconds stuffing zero bits
into all that memory? I understand the use of calloc with integers,
as an easy way of initialising them all to zero (if you need to test
them at some future stage), but what good is it with pointers?
More information about the Comp.lang.c
mailing list