boost learn study
Friday, March 28, 2014
stcat() - String Handling Functions
/*Write a program to concatenate two string*/ #include
#include
#include
void main() { char name1[10], name2[10]; clrscr(); printf("Enter the two Names:\n"); scanf("%s%s",name1,name2); strcat(name1,name2); printf("%s",name1); getch(); }
Output is as :
Enter the two Names
Bintu
Chaudhary
BintuChaudhary
Read more �
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment