1) [15 pts] a 1 16 16 b 0 128 4 c 4 32 7 d 0 32 8 e 2 6 16 2) [25 pts] char * replace(char* sentence, char* old, char* new) { char *cptr1, *cptr2, tempstring[STRMAX]; cptr1 = strstr(sentence, old); if (cptr1 != NULL) { cptr2 = cptr1 + strlen(old); strcpy(tempstring, cptr2); strcpy(cptr1, new); cptr2 = cptr1 + strlen(new); strcpy(cptr2, tempstring); } return cptr1; }