Open Dain1234 opened 2 years ago
int main() { char str1[20], str2[20]; printf("Enter the string: "); gets(str1); printf("\nString 1 = %s", str1); strcpy(str2, str1); printf("\nString 2 = %s", str2); getch(); return 0; }