Monday, March 22, 2010

Variable stored in memory

Local/auto variables, which is declared in stack area of memory
global variable-->data memory
register variable-->CPU registers
static variable-->main memory

0 comments:

Post a Comment