• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Which of the following are the types of loops in C++?
درج ذیل میں سے کون کون سی لوپسکی اقسام سی پلس پلس میں استعمال ہوتی ہیں؟
  1. For, While, Do-While
  2. If, Else, Switch
  3. Input, Output, Print
  4. Class, Object, Function
Explanation

There are 3 main types of loops in C++:

  1. For Loop  (including the modern range-based for loop)
  2. While loop: repeats a statement or group of statements
  3. 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

کون سا آپریٹنگ سسٹم ملتے جلتے کاموں کو گروپ بنا کر بیچز کی صورت میں چلاتا ہے؟
  1. Real-time operating system
  2. Batch operating system
  3. Distributed operating system
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

کمپیوٹر کے مدر بورڈ پر سی ایم او ایس بیٹری کا کیا کام ہے؟
  1. To power the processor
  2. To maintain system time and BIOS/UEFI settings
  3. To increase internet speed
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

درج ذیل میں سے کون سی آپٹیکل اسٹوریج ڈیوائس کی مثال ہے؟
  1. SSD
  2. DVD Drive
  3. Hard drive
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

جی این یو آپریٹنگ سسٹم کا منصوبہ کس نے شروع کیا؟
  1. Bill Gates
  2. Steve Jobs
  3. Richard Stallman
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

مندرجہ ذیل میں سے کون سی غیر مستحکم میموری ہے؟
  1. RAM
  2. ROM
  3. Cache
  4. Both A and C
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com