#include <stdio.h>
int main (void)
{
char s1[100];
char s2[100];
gets(s1);
gets(s2);
strcpy(s1,s2); //copy s2 to s1
printf("s1= %s s2= %s\n",s1,s2);
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);
strcpy(s1,s2); //copy s2 to s1
printf("s1= %s s2= %s\n",s1,s2);
system("pause");
return 0;
}
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment