8 lines
251 B
C
8 lines
251 B
C
#include <alloca.h>
|
|
int *funcA()
|
|
{
|
|
int *ints = alloca(SIZEOF_MEMB*NMEMB);
|
|
ints[0] = 0; /* use it */
|
|
return ints; /* BUT THIS IS WRONG! It is not like malloc: the memory
|
|
does not "survive"! */
|
|
}
|