// Prints string char by char, one per line #include #include #include int main(void) { string s = get_string("input: "); printf("output:\n"); for (int i = 0, n = strlen(s); i < n; i++) { printf("%c\n", s[i]); } }