int checkmeout = 0; char *lookatme = "I have not changed"; void subr2(int * addr) { *addr = 9; *addr = 1; } void subr1() { int watchthis = 9; subr2(&watchthis); checkmeout = 2; lookatme = "change is good"; watchthis = 2; } int main() { int ret_val = 0; subr1(); }