C program to remove or delete vowels from a string. If the input is "C programming," then the output is "C prgrmmng."
In the program, we create a new string and process input string character by character. If a vowel is present, we exclude it otherwise we copy it. After the input ends, we copy the new string into it. Finally, we obtain a sequence of characters without vowels.
output:
ANAS
Enter a string to delete vowels A
String after deleting vowels: NS