String Program6

 #include<stdio.h>

#include<conio.h>


void main()

{

int len;

char st[97], st2[97];

clrscr();


printf("Enter string: ");

scanf("%s", st);


strcpy(st2, st);

printf("\n\nYour String1 is %s and copy string2 is %s", st, st2);


getch();

}

No comments:

Post a Comment