#include <stdio.h>
#include <string.h>
int main()
{
char s1[100], s2[100];
printf("\nEnter the First Name = ");
gets(s1);
printf("\nEnter the Last Name = ");
gets(s2);
strcat(s1,s2);
printf("\nYour Full Name is : %s\n",s1);
return 0;
}
इस कोड को हमने CODEBLOCK पर बना कर run किया है

Comments
Post a Comment