C Programming + Tutorials in C for Beginners

Showing posts with label String. Show all posts
Showing posts with label String. Show all posts
0

strrev() - String Handling Functions

/*Write a program to print the reverse String*/ #include #include #include void main() { char name[20]; printf("Enter the N...
Read More
0

strlen() - String Handling Functions

/*Write a program to print the length of String*/ #include #include #include void main() { char name[20]; int len=0; printf(...
Read More
0

strcpy() - String Handling Functions

/*Write a program to copy one string into another string*/ #include #include #include void main() { char name1[20], name2[10]; ...
Read More
0

stcmp() - String Handling Functions

/*Write a program to compare two string*/ #include #include #include void main() { char name1[10], name2[10]; int i=0; clrscr(); ...
Read More
0

stcat() - String Handling Functions

/*Write a program to concatenate two string*/ #include #include #include void main() { char name1[10], name2[10]; clrscr(); print...
Read More