Tag Archives: Count Vowels in string using pointer

Using Pointers Count Vowels

Using Pointers Count Vowels – Write a program in C Programming Language to count the number of vowels and consonants in a string using a pointer. Source Code for Program   #include <stdio.h> int main() { char str1[100],ch; char *ptr; int vcount=0,ccount=0; printf(“\n\n Using C Pointers : Count Vowels and Consonants :\n”); printf(“—————————————————–\n”); printf(” Enter… Read More »

Loading