WAP to accept string from user and display on screen using gets() and puts(). Get link Facebook X Pinterest Email Other Apps - March 22, 2017 Get link Facebook X Pinterest Email Other Apps Comments Anonymous12:06 PM#includevoid main(){char a[10],b[10];clrscr();printf(" enter the values of a=");gets(a);printf(" enter the values of b=");gets(b);strcat(a,b);puts(a);getch();}ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
#include
ReplyDeletevoid main()
{
char a[10],b[10];
clrscr();
printf(" enter the values of a=");
gets(a);
printf(" enter the values of b=");
gets(b);
strcat(a,b);
puts(a);
getch();
}