Code Examples | MCQs

    • A. printf("Hello");
    • B. output("Hello");
    • C. display("Hello");
    • D. print("Hello");

    Q2: Which loop structure is not available in C programing?

    سی پروگرامنگ میں کون سا لوپ ڈھانچہ دستیاب نہیں ہے؟
    • A. For
    • B. Do-until
    • C. While
    • D. Do-while
    • A. Character variable
    • B. Integer variable
    • C. None of these
    • D. String variable
    • A. 3
    • B. None of these
    • C. 4
    • D. 5

    Q5: What is the syntax for defining a method in Ruby?

    روبی میں طریقہ کی وضاحت کے لیے نحو کیا ہے؟
    • A. method method_name
    • B. function method_name
    • C. define method_name
    • D. def method_name
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0