//this is a program to accept the user name and display it #include<stdio.h> #include<conio.h> void main() { int i; c...
Read More
Showing posts with label String Function. Show all posts
Showing posts with label String Function. Show all posts
Write a program to accept the user name and display it
//this is a program to accept the user name and display it #include<stdio.h> #include<conio.h> void main() { char name[20...
Read More
Write a program to check whether the entered string is palindrome or not
//this is a program to check whether the entered string is palindrome or not //Palindrome means reverse of the string equal to original st...
Read More
Write a program to find the number of vowels and consonants
//this is a program to find the number of vowels and consonants #include<stdio.h> #include<conio.h> void main() { char st...
Read More
Write a program to find the length of a string
//this is a program to find the length of a string #include<stdio.h> #include<conio.h> void main() { char string[10]; i...
Read More
Write a program to copy the one string into another string
//this is a program to copy the string #include<stdio.h> #include<conio.h> void main() { char str1[20],str2[20]; int i=...
Read More
Write a program to demosntrate strcat() function
//this is a program to demosntrate strcat() funtion #include<stdio.h> #include<conio.h> void main() { char fname[20], lna...
Read More
Subscribe to:
Posts (Atom)