#include <stdio.h>
#include <conio.h>
#include <string.h>
void main()
{
char a[25],b[25];
clrscr();
printf("Please Enter A String: ");
gets(a);
strcpy(b,a);
printf("Your Entered string \"%s\"\nAfter copying string is \"%s\"",a,b);
getch();
}
#include <conio.h>
#include <string.h>
void main()
{
char a[25],b[25];
clrscr();
printf("Please Enter A String: ");
gets(a);
strcpy(b,a);
printf("Your Entered string \"%s\"\nAfter copying string is \"%s\"",a,b);
getch();
}
No comments:
Post a Comment