C program to count the number of vowels, consonants and so on

This program counts the number of vowels, consonants, digits and white-spaces in a string which is entered by the user.

To understand this example, you should have the knowledge of following C programming topics: