C program to toggle each character in a string
Here, we are implementing a C program that will read a string and toggle each character in it, if any character is in uppercase it will be in lowercase and if any character is in lowercase, it will be converted in uppercase.
Example:
Input string: "Hello"
Output: "hELLO"
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer