C program to capitalize first character of each word in a string
In this program, we will learn how to capitalize each word of input string using C program?
This program will read a string and print Capitalize string, Capitalize string is a string in which first character of each word is in Uppercase (Capital) and other alphabets (characters) are in Lowercase (Small).
For example:
If input string is "hello friends how are you?" then output (in Capitalize form) will be "Hello Friends How Are You?".
Program to capitalize first character of each word in a string in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer