STRING MANIPULATION - C Codes

Vowel count

Description To count no of vowels in a sentence Source Code #include<stdio.h> #include<string.h> main() { char a[]="please read this information "; int i,j,l,count=0; l=strl ...

0 Comments. 913 views since Mar 6, 2009

Case Changer

Description This is a code to convert Upper Case to Lower Case or Lower Case to Upper Case depending on the name it is invoked with as found in argument. Source Code #include <stdio.h> #include &lt ...

0 Comments. 822 views since Sep 3, 2008

Calculate Frequency of a String

Description Program to calculate frequency of a string Source Code #include <stdio.h> #include <conio.h> void main() { int a=0,e=0,i=0,o=0,u=0,sum=0; char c; clrscr(); printf("Enter s ...

0 Comments. 794 views since Aug 23, 2008

Find Space in String

Description Program to find out if entered string contains a space character. Source Code #include <stdio.h> #include <conio.h> #include <ctype.h> space(char s); void main() { char s; ...

0 Comments. 743 views since Aug 23, 2008

String Sorting

Description To arrange given names in alphabetical order Source Code #include<stdio.h> #include<string.h> main() { char *a[7]={ "rohit", "nikhil ...

0 Comments. 719 views since Mar 6, 2009