Input Functions | MCQs

    Q1: What does the getche() function do in C/C++?

    سی آر سی پلس پلس میں گیٹ سی ایچ () فنکشن کیا کرتا ہے؟
    • A. None of these
    • B. It will display the character on the screen that user has entered
    • C. It reads a character from the keyboard without displaying it on the screen
    • D. It reads a string from the user

    Q2: Which function is used to get values into variables from the keyboard during the execution of a program?

    پروگرام کے عمل کے دوران کی بورڈ سے متغیرات میں ویلیو حاصل کرنے کے لیے کون سا فنکشن استعمال ہوتا ہے؟
    • A. Main()
    • B. Printf()
    • C. Scanf()
    • D. Getch()
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0