int test (int integer ){
int results =0 ;
results = 10 - integer;
printf("%d \n", &integer);
return results;
}
void main(){
printf("%d \n", test(1));
}
int test (int integer ){ int results =0 ; results = 10 – integer;
Share
Activation records / stack frames are dependent on both the architecture and the platform. That said, a vaguely generic one would look like
There could be other things in there as well such as saved registers but this should give you a rough idea.