Predict output??
#include<stdio.h>
#include<conio.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 string as SOOKSHMAS what we got an copied string??

Posted on by