Memory allocation: Difference between revisions

m
m (omissions)
m (→‎{{header|C}}: does not)
Line 91:
<lang c>int func()
{
int ints[NMEMB]; /* it resembles callocmalloc ... */
int *int2; /* here the only thing allocated on the stack is a pointer */
char intstack[SIZEOF_MEMB*NMEMB]; /* to show resemblance to malloc */
Anonymous user