void main() { char str[256]; int c,i=0; while ( 1 ) { c=getch(); if ( c==13 ) break; printf("*"); str[i]=c; i++; } str[i]=0; printf("%s\n",str);}