C Language | MCQs

    Q1: C language was developed by Dennis M. Ritchie in _____?

    سی زبان _____ میں ڈینس ایم رچی نے تیار کی تھی؟
    • A. 1972
    • B. None of these
    • C. 1971
    • D. 1973

    Q2: A compiled C language program file typically has which extension?

    ایک مرتب شدہ سی زبان کے پروگرام فائل میں عام طور پر کون سی توسیع ہوتی ہے؟
    • A. .obj
    • B. None of these
    • C. .pptx
    • D. .pdf
    • A. define PI = 3.14
    • B. # define PI = 3.14
    • C. # define PI 3.14
    • D. None of these

    Q4: Which of the following is the correct statement to print a string in C programming?

    سی پروگرامنگ میں اسٹرنگ کو پرنٹ کرنے کے لئے مندرجہ ذیل میں سے کون سا صحیح بیان ہے؟
    • A. printf("I am a student");
    • B. None of these
    • C. print("I am a student");
    • D. cout << "I am a student";

    Q5: What type of language is C?

    سی کس قسم کی زبان ہے؟
    • A. Low-level language
    • B. High-level language
    • C. Machine language
    • D. Assembly language
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0