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:

  1. Reads a single character from the keyboard (immediately, without waiting for Enter).
  2. Echoes (displays) the character on the screen.