Why? In the following code, only c will be allocated on the stack:
int a[]={1,2,3}; foo() { static int b[]={1,2,3}; int c[]={1,2,3}; }