#include<stdio.h> #include<conio.h> #include<string.h> void main(){ char *s , *t ; int i; clrscr(); printf("Enter String : "); scanf("%s",s); for(i=0; s[i] != '\0' ; i++){ t[i] = s[i]; } t[i]= '\0'; printf("After string copy t = %s",t); getch(); }