Question: Write a function named capitalize that capitalizes all letters in its argument. The argument will be a null-terminated string containing arbitrary characters, not just letters.
Write a function named capitalize that capitalizes all letters in its argument. The argument will be
a null-terminated string containing arbitrary characters, not just letters. Use array subscripting
to access the characters in the string. Hint: Use the toupper function to convert each character
to upper-case.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
