View Single Post
  #4  
Old 11-04-2007, 04:11
yaa
 
Posts: n/a
But this is not true. It depends entirely on how your compiler and linker lay out your code in the binary. Without doing anything special and without touching optimization flags, taking your example, I even got to the point that dummy's code was placed BEFORE main's code in the compiled binary!

yaa

Last edited by yaa; 11-04-2007 at 04:35.
Reply With Quote