运行以下程序,输入zoo,写出程序的运行结果。 # include
# include
# define MAXLINE 100 void encrypt ( char *s); int main (void) { char line [MAXLINE]; printf ("Input the string: "); gets(line); encrypt (line); printf ("%s\n", line); return 0; } void encrypt ( char *s) { for ( ; *s != '\0'; s++) if (*s == 'z') *s = 'a'; else *s = *s+1; }