Home Forums C Programming getche() nd getchar() Reply To: getche() nd getchar()

#3183
niklaesh
Participant

As far as i know, getche() function echos the character on the screen. and getchar() returns teh next character.
When u press Enter Button it returns ASCII value 10 and ASCII value 10 is the orignal n character.
And you know on the STDIO when u press enter button it means a n character.
This is my idea. Any one else migh have the correct answer.