Which of the following are the types of loops in C++?
درج ذیل میں سے کون کون سی لوپسکی اقسام سی پلس پلس میں استعمال ہوتی ہیں؟
- For, While, Do-While
- If, Else, Switch
- Input, Output, Print
- Class, Object, Function
Explanation
There are 3 main types of loops in C++:
- For Loop (including the modern range-based for loop)
- While loop: repeats a statement or group of statements
- do-while loop: Like a while loop, except that it tests the condition at the end of the loop body
Last updated 07-09-2026 by NA
Related MCQs
ایک مرتب کیا ہے؟
- A compiler is a special program that processes statements written in a particular programming language and turns them into machine language
- A compiler is a language providing very efficient execution
- A compiler does a conversion line by line as the program is run
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے کون سا اینڈرائیڈ کے آفیشل ورژن کا کوڈ نام نہیں ہے؟
- Muffin
- Cupcake
- Donut
- Lollipop
اس سوال کو وضاحت کے ساتھ پڑھیں
کسی ویب سائٹ کو صارف کی شناخت یاد رکھنے میں کون سی چیز مدد دیتی ہے؟
- Cookies
- Firewall
- Cache
- Compiler
اس سوال کو وضاحت کے ساتھ پڑھیں
جب صارف کمپیوٹر آن کرتا ہے تو آپریٹنگ سسٹم شروع کرنے کے عمل کو کیا کہا جاتا ہے؟
- Starting
- Loading
- Booting
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر سسٹم میں بوٹ کا لفظ استعمال ہوتا ہے؟
- To exit opened software
- To start up a software
- To shutdown system
- To start a computer