if((choice=getch())!=13)
exit(0);
this is used taking enter as the value...but y 13 is taken?
if((choice=getch())!=13)
exit(0);
this is used taking enter as the value...but y 13 is taken?
If you look up the value 13 in the ASCII table, you'll see that it corresponds to a carriage return (eg: '\n').