What will be the output of the programm???
#includestdio.h
#includeconio.h
void main()
{
char i,s1[100],s2[100];
printf("the first string is :");
gets(s1);
for(i=0;s[i]!=0;i++)
s2[i]=s1[i];
printf("the copied string is %s",s2);
}
if we take a first string as SOOKSHMAS, what we get a copied string????

Posted on by