C program to convert a string to sentence case
Given a string and we have to convert it to sentence case using C program.
So, first of all, we have to understand - what is a sentence case? A string is in a sentence case, if first character of each sentence is an uppercase character.
Example:
Input string: "hello how are you?"
Output:
Sentence case string is: "Hello how are you?"
Input string: "hello. how are you?"
Output:
Sentence case string is: "Hello. How are you?"
Program to convert string to sentence case in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer