How many values can be returned from a function using the return () statement?
- 3
- 2
- 1
- None of these
Explanation
- In programming, the return() statement in a function is used to send a single value back to the caller.
- Even if multiple values seem to be returned (like in a tuple), it is considered one object being returned.
Last verified on 10-02-2026
Related MCQs
کلاؤڈ پر مبنی پیداواری اور تعاون کے ٹولز کا وہ مجموعہ جو صارفین کو آن لائن کام بنانے، شیئر کرنے اور منظم کرنے کی اجازت دیتا ہے، اسے کیا کہتے ہیں؟
- Adobe Photoshop
- Microsoft Windows
- Google Workplace
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
- Executable File
- Text File
- Image File
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ان میں سے کون سی ایک قسم کی ساؤنڈ فائل ہے۔
- .DAT files
- .LOG files
- .DRV files
- .WAV files
اس سوال کو وضاحت کے ساتھ پڑھیں
ایم ورڈ میں گٹر مارجن کیا ہوتا ہے؟
- Margin that is added to the Left margin when printing
- Margin that is added to the binding side of page when printing
- Margin that is added to the right margin when printing
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک ________ ایسا سنگل چپ ہوتا ہے جس میں دو یا زیادہ الگ پروسیسر کورز ہوتے ہیں۔
- Transistor
- Multi-core processor
- Resistor
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Leave a Reply
Your email address will not be published. Required fields are marked *