OOP Principles | MCQs

    Q1: Which type of function is not a member of a class, but can access its private members?

    کس قسم کا فنکشن کلاس کا ممبر نہیں ہے، لیکن اس کے پرائیویٹ ممبرز تک رسائی حاصل کر سکتا ہے؟
    • A. static
    • B. friend
    • C. constructor
    • D. destructior
✅ Correct: 0 | ❌ Wrong: 0 | 📊 Total Attempted: 0