/* p3.c 1. compile and run the program and see what it prints out. 2. Write some code that does pointer arithmetic with a pointer to an int and determine how big an int is. 3. Same idea - figure out how large the datatype double is by using pointer arithmetic and printing out a pointer before and after adding 3. */ int main( ) { char *s="abcdefghijklmnopqustuvwxyz"; printf("s is %d %08x\n",s,s); printf("The string at s is %s\n",s); /* Pointer arithmetic - see what s+3 is */ s = s+3; printf("s is %d %08x\n",s); /* and what is stored there (as a string) */ printf("The string at s is %s\n",s); }