if I have few local variables in function like -
void fun()
{
int a,b,c,d,e,f,g;
}
Does compiler allocate memory for each variable one after another ? if yes why doesn't compiler reads all variables at once and then allocate memory for them at one shot ?