46) Sample C Program to count the number of words, characters, alphabets, vowels, consonants and digit in a line of text. # include <stdio.h> # include <conio.h> main( ) { int noa = 0, nob = 0, noc = 0, nov =0 , now = 0, noch = 0, l, I; char ch, s[100]; clrscr( ); printf(" Enter 2 lines of text: "); gets(s); l = strlen(s); for(i = 0; i < 1; i++) { switch(s[i]) { case 'a': case 'e': case 'i': case 'o': case 'u': case 'A': case 'E': case 'I': case 'O': case 'U': ...
All HR and Technical interview questions with answers for freshers and experienced professional. It helps job seekers who are about to attend interviews.