Access Modifier | MCQs

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

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