/* p4.c 1. create a program that prints out the ASCII encoding of all the alphabetic characters and the space character ' '. You can print the ascii encoding of a char c with something like this: printf("%c %2d 0x%02x\n",c,c,c); Note that you can do things like this: char c; for (c='a'; c<='z';c++) { ... } You need the output from this program to solve the question below. 1. For the source code in this file, predict the value of i that is printed. Test your solution by compiling and runing the program, iterate until you can explain the result. Note that you need to determine the address of s and the address of i (or at least the relative difference)! 2. fix the problem (make it so that it prints the correct value of i: "i is 0"). */ #include #include /* needed for strcpy */ int main() { int i; char s[8]; i=0; strcpy(s,"Pointers are lots of fun\n"); printf("S is %s\n",s); printf("i is %d\n",i); return(0); }