11 int main (
int argc,
char ** argv)
15 for(i=0, j=0; i <
MAX; i++)
17 cout <<
"IN LOOP:i=" << i << endl;
18 cout <<
"IN LOOP:j=" << j << endl;
22 cout <<
"AFTER LOOP:i=" << i << endl;
23 cout <<
"AFTER LOOP:j=" << j << endl;
28 char s1[
MAX] =
"012345678";
34 char *p1 = s1, *p2 = s2;
38 cout <<
"s2=" << s2 << endl;
56 cout <<
"s2=" << s2 << endl;
74 cout <<
"s2=" << s2 << endl;
76 cout <<
"sizeof(s2)="<<
sizeof(s2)<<endl;
77 cout <<
"sizeof(p2)="<<
sizeof(p2)<<endl;
int main(int argc, char **argv)