What does the getche() function do in C/C++?
What does the getche() function do in C/C++?
سی آر سی پلس پلس میں گیٹ سی ایچ () فنکشن کیا کرتا ہے؟
Explanation
The getche() function in C/C++ (from the <conio.h> library) performs two actions:
- Reads a single character from the keyboard (immediately, without waiting for Enter).
- Echoes (displays) the character on the screen.