The statement, when used inside the body of a loop, causes termination of the loop without terminating the program is _______?
- switch
- continue
- break
- None of these
Explanation
The break statement, when used inside a loop, immediately exits the loop and transfers control to the statement following the loop.
It does not terminate the entire program, only the current loop.
Related MCQs
کمپیوٹر کا جسمانی حصہ کسے کہتے ہیں؟
- Software
- Hardware
- Both A and B
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کس قسم کے ٹرمینل میں اپنا پروسیسر ہوتا ہے اور جو آزادانہ طور پر حساب کتاب اور ڈیٹا پراسیس کر سکتا ہے؟
- Dumb Terminal
- Smart Terminal
- Intelligent Terminal
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
سافٹ ویئر یا ہارڈ ویئر میں خرابی کو بگ کہا جاتا ہے۔ اس کے لیے متبادل کمپیوٹر جرگن کیا ہے؟
- Glitch
- Squid
- Slug
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
سمورغ نامی سپر کمپیوٹر کس ملک نے تیار کیا ہے؟
- China
- Japan
- Iran
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
سی پی یو کے اندر کون سی میموری نصب ہوتی ہے؟
- RAM
- ROM
- Register
- None of these