/* counter-mem.c -- print the counter value in memory. */ #include int counter = 0; main( int argc, char *argv[], char *envp[] ) { printf("%d -> ",counter ); counter = counter + 1 ; printf("%d\n",counter ); }