home
Learn
screen_rotation
#include <stdio.h> #include <string.h> #include <conio.h> void main(){ char str1[50]; char str2[50]; clrscr(); printf("write some thing:-"); gets(str1); strcpy(str2,str1); puts(str2); getch(); }
Program Output
write some thing:-hello world hello world