// CONVERT A STRING TO UPPERCASE // CREATED BY // ... (Z0000000) // CREATED ON 2019-??-?? #include void string_to_upper(char *buffer); int main(int argc, char *argv[]) { // NOTE: THIS WON'T WORK: // char *str = "Hello!" // string_to_upper(str) // // str only points to a string literal, which it is not legal to change. // If you attempt to modify it on Linux you will get a runtime error. // Instead, you need to create an array to store the string in, e.g.: // // char str[] = "Hello!" // string_to_upper(str) char str[] = "Seventeen... SEVENTEEN, I SAY!"; string_to_upper(str); printf("%s\n", str); return 0; } // Convert the characters in `buffer` to upper case void string_to_upper(char *buffer) { // YOUR CODE GOES HERE! }