int sub1 (char *p, int i) { char j = p[i]; { void sub2 () { i = 2; p = p + 2; } } }