WAP to demonstrate string concatenation. Get link Facebook X Pinterest Email Other Apps - March 22, 2017 Get link Facebook X Pinterest Email Other Apps Comments ROHIT CHAVAN CSE ATPADI@712:17 PM#includevoid main(){ char a[3],b[3]; clrscr(); printf("Enter elements of string a :"); gets(a); printf("Enter elements of string b :"); gets(b); strcat(a,b); puts(a); getch();}ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
#include
ReplyDeletevoid main()
{
char a[3],b[3];
clrscr();
printf("Enter elements of string a :");
gets(a);
printf("Enter elements of string b :");
gets(b);
strcat(a,b);
puts(a);
getch();
}