C Program : Password Input Problem
- while((c=getch())!=13)
- {
- pass[z++]=c;
- printf("%c",'*');
- }
the problem is, suppose, if i press a wrong key n i want to delete it (backspace) then even backspace is taken as a character.. How to rectify the code??
0