按照一般教科书上的说法,C语言中的局部变量应该是分配在"栈"中的。而实际情况,有些出入录,肯能更容易理解。
这一段代码,唯一的用途,就是分配变量。int func1(void)
{
volatile int father;
volatile int mother;
volatile int boy;
volatile int girl;
father = 30;
mother = boy = girl = father;
return father;
}
int func2(void)
{
volat