// Stack address: 0000100 for(int i=0;i<10;i++){ /*something */ } // Stack address: 00000FC // Stack address: 0000100 // do anything else for(int i=0;i<10;i++){ /*something */ } // Stack address: 00000FC // Stack address: 0000100
void function(int x,int y) { if(1==x) { int a; // do... } if(1==y) { int z; // <- 'z' uses the same adress as 'a' before } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)