When overloading functions which of the following should be the same?
جب اوورلوڈنگ افعال مندرجہ ذیل میں سے کون سا ہونا چاہئے؟
- Function name
- Return type
- Both A and B
- Parameter list
Explanation
Function overloading requires the same function name but different parameter lists.
Return type can be the same or different, but it alone cannot distinguish overloaded functions.
Related MCQs
اسکرین کی تصویر کو کلپ بورڈ پر کاپی کرنے کے لیے کیا استعمال کرسکتےھیں۔
- Print screen key
- Alt key
- Both
- Shift key
اس سوال کو وضاحت کے ساتھ پڑھیں
وہ کمپیوٹر پروگرام جو پروگرام کی ہدایات کو ایک وقت میں ایک ہدایت مشینی زبان میں تبدیل کرتا ہے، کیا کہلاتا ہے؟
- Interpreter
- Compiler
- CPU
- Interpreter
اس سوال کو وضاحت کے ساتھ پڑھیں
مشینی زبان کے پروگرام کے بنیادی اجزاء کیا ہیں؟
- Statements
- Directives
- Injunctions
- Instructions
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر سسٹم تک رسائی حاصل کرنے کے لیے استعمال ہونے والے کوڈ شدہ اندراجات کو کیا کہا جاتا ہے؟
- Entry Codes
- Passwords
- Security Commands
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک مضبوط پاس ورڈ کن چیزوں کا مجموعہ ہونا چاہیے؟
- Only alpha numeric characters
- Only special characters
- Alpha numeric characters and special characters
- None of these