// Program
# include <stdio.h>
# include <string.h>
void main()
{
char S1[20],S2[20];
puts("Enter any string : ");
gets(S1);
strcpy(S2,S1);
printf("First string is : %s",S1);
printf("\ncopy of first string is : %s",S2);
}
Nothing Succeeds Like Success
No comments:
Post a Comment
Note: only a member of this blog may post a comment.