Characters and Strings
Exercises
- Read and print a character using
getchar() and putchar().
- Read and print a string using
fgets() and puts().
- Convert a lowercase character to uppercase using character operations.
Concepts practiced
Characters, strings, standard input, and safe line input.
Click here for explanation and solution.