My edit.c has three functions: // // Shift the chararacters in s one position to the left. // void shiftleft(char s[]) { ... } // // Shift the chararacters in s one position to the right. // void shiftright(char s[]) { ... } void edit(char s[], char ops[]) { ... }