View Single Post
Old Jun 2nd, 2006, 3:21 PM   #8
volatile
Newbie
 
Join Date: Nov 2005
Posts: 18
Rep Power: 0 volatile is on a distinguished road
You were right about the stack thing Animatronic.

Crap. I though the compiler would arrange data as It saw fit..I mean, lets say you interweave global chars and ints. This would make many ints not on a four byte boundary. I tried an example. The compiler would only padd the data, no rearranging. Not exactly space efficient.
volatile is offline   Reply With Quote