In C Language, the function getchar() _____?
سی زبان میں ، فنکشن گیٹچار () _____؟
- Reads a character from the keyboard without echo
- Requires pressing the "Enter" key after entering the character
- Reads a string until the user presses the "Enter" key
- Reads a character from the keyboard with echo
Explanation
In C, getchar() reads a single character from standard input but requires pressing "Enter" to submit the input.
The input is buffered, meaning it waits for the newline (n) before processing the character.
Related MCQs
درج ذیل میں سے آپریٹنگ سسٹم کی مثال کون سی ہے؟
- Photoshop
- MS Windows
- MS Word
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
مندرجہ ذیل میں سے کون سا کلائنٹ آپریٹنگ سسٹم ہے؟
- Windows Server 2016
- Windows Server 2012
- Windows 10
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
اسکرین کی تصویر کو کلپ بورڈ پر کاپی کرنے کے لیے کیا استعمال کرسکتےھیں۔
- Print screen key
- Alt key
- Both
- Shift key
اس سوال کو وضاحت کے ساتھ پڑھیں
وہ کمپیوٹر پروگرام جو پروگرام کی ہدایات کو ایک وقت میں ایک ہدایت مشینی زبان میں تبدیل کرتا ہے، کیا کہلاتا ہے؟
- Interpreter
- Compiler
- CPU
- Interpreter
اس سوال کو وضاحت کے ساتھ پڑھیں
مشینی زبان کے پروگرام کے بنیادی اجزاء کیا ہیں؟
- Statements
- Directives
- Injunctions
- Instructions