What does the getche() function do in C/C++?
سی آر سی پلس پلس میں گیٹ سی ایچ () فنکشن کیا کرتا ہے؟
- It will display the character on the screen that user has entered
- It reads a character from the keyboard without displaying it on the screen
- It reads a string from the user
- None of these
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.
Related MCQs
پورے کمپیوٹر سسٹم کو مربوط کیا جاتا ہے؟
- ALU
- Register
- Control Unit
- Both A and C
اس سوال کو وضاحت کے ساتھ پڑھیں
ریم کونسی میموری ہے؟
- Permanent
- Volatile
- Primary Memory
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایم آئی سی آر کا مطلب کیا ہے؟
- Magnetic Ink Code Reader
- Magnetic Ink Cases Reader
- Magnetic ink character recognition
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
انٹرنیٹ کنکشن کے لیے کون سا آلہ ضروری ہے؟
- Joystick
- Modem
- CD drive
- NIC card
اس سوال کو وضاحت کے ساتھ پڑھیں
جنک ای میل کا دوسرا نام کیا ہے؟
- Spoof
- Spill
- Spam
- Spat