/* * SHOUT * print all characters in upper case * Doing it like java! * * Created on: August 2019 * Author: geoffreytowell */ #include #include #define LINE_LEN 256 void shout() { char line[LINE_LEN]; int ptr = 0; while (scanf("%s", line) != EOF) // note that line is really a pointer to an array, so NO reference operator (&) { for (ptr=0; ptr