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
وی ڈی یو کا مطلب کیا ہے؟
- Very Display Unit
- Virtual Display Uniform
- Visual Display Unit
- Virtual Detection Unit
اس سوال کو وضاحت کے ساتھ پڑھیں
لسپ پروگرامنگ زبان کس نے ایجاد کی؟
- James Gosling
- Dennis Ritchie
- John McCarthy
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
لفظ ویبلاگ کس نے متعارف کروایا جس سے بلاگ کا لفظ نکلا؟
- Justin Hall
- Jorn Barger
- Bill Gates
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
انٹرنیٹ پر فائلوں کی منتقلی کے لئے کون سا پروٹوکول استعمال کیا جاتا ہے؟
- FTP
- DNS
- IP
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایچ ٹی ٹی پی کے لیے ڈیفالٹ پورٹ کون سا ہے؟
- 20
- 21
- 80
- 443