#include <stdio.h>
int main (void)
{
    char s1[100];
    char s2[100];
    gets(s1);
    gets(s2);
    strcat(s1,s2); //concatenate s1 and s2
    printf("s1= %s\n",s1);
    system("pause");
    return 0;
}
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
#include <stdio.h>
int main (void)
{
    char s1[100];
    char s2[100];
    gets(s1);
    gets(s2);
    strcat(s1,s2); //concatenate s1 and s2
    printf("s1= %s\n",s1);
    system("pause");
    return 0;
}
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment