What is getch() code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is getch() code?

14th Aug 2017, 2:33 AM
Harsh Wellengsly
Harsh Wellengsly - avatar
4 Answers
+ 1
where does getch() returns the char value
14th Aug 2017, 6:39 AM
Harsh Wellengsly
Harsh Wellengsly - avatar
+ 1
getch() is just used to hold the screen until single character key is not entered. and it belongs to the header file conio.h
14th Aug 2017, 9:54 AM
Anil Patamber
Anil Patamber - avatar
- 1
who says that getch() return character value??
14th Aug 2017, 1:03 PM
Anil Patamber
Anil Patamber - avatar
- 1
it will hold the console screen
15th Aug 2017, 2:55 AM
Harshit Ahluwalia
Harshit Ahluwalia - avatar