Free
|
||
|
C Language Tutorial with Free C Programs |
||
Strings : - C Programming Tutorial
We use the header file
#include <string.h> for strings. Strlen() length = strlen(ptr); Strcpy() strcpy(ptr1, ptr2);
string copy Strcat() strcat(ptr1, ptr2); used to concatenate k= strcmp(ptr1,
ptr2); used for string comparison Sample String Programs Count Number of Vowels, Characters and words in a paragraph C program to sort a list of names © COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM |
||