• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
In a C++ structure, which of the following statements tells the compiler to allocate memory for an instance of the structure?
  1. struct { ... };
  2. typedef struct { ... } StructName;
  3. StructName var;
  4. #include <iostream>
Explanation

 In C++, when you use a statement like StructName var;,

it tells the compiler to allocate memory for an instance of the structure StructName.

Related MCQs

روبی پروگرامنگ لینگویج کس نے بنائی؟
  1. Dennis Ritchie
  2. Yukihiro Matsumoto
  3. James Gosling
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

آن لائن دستاویزات میں ترمیم کے لیے عام طور پر کون سی ایپلی کیشن استعمال ہوتی ہے؟
  1. Google Docs
  2. VLC Player
  3. Paint
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

وہ فولڈر کون سا ہے جس میں ایسے پیغامات کی نقول محفوظ رہتی ہیں جنہیں آپ نے لکھنا شروع کیا ہو لیکن ابھی بھیجنے کے لیے تیار نہ ہوں؟
  1. Drafts
  2. Sent items
  3. Inbox
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

ورچوئل میموری میں میموری کے وسائل کن کے درمیان منظم اور مختص کیے جاتے ہیں؟
  1. Printers
  2. Processes
  3. Keyboards
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

وی پی این کا بنیادی مقصد کیا ہے؟
  1. To provide privacy and secure connections over networks
  2. To delete computer files
  3. To increase RAM
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com