MCQ Buddy
Search here...
  • Home
  • MCQ Feed
  • Add Question
  • Programming Portal
  • English Portal
  • Login
  1. Home
  2. Engineering
  3. CPP Programming
  4. Question

M

Mr. Dubey • 100.69K Points
Coach

Q. Predict the output of following C++ program.
#include<iostream>
using namespace std;
class Empty {};
int main() {
cout << sizeof(Empty);
return 0;
}

  • (A) A non-zero value
  • (B) 0
  • (C) Compiler Error
  • (D) Runtime Error
  • Correct Answer - Option(A)
  • Views: 806
  • Filed under category CPP Programming
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. During a month with 30 days, a cricket team plays at least one game a day, but no more than 45 games. There must be a period of some number of consecu

Q. What is the full form of TQM?

Q. Which of the following error is caused by poor calibration of the instrument?

Q. Which of the following operatiing system allows multi tasking?

Q. Executable atomic computations are called as ________

Q. For correct behaviour during recovery, undo and redo operation must be

Q. Regarding constraints:

Q. Network file system(NFS) is developed by?

Q. Which command is used to locate all the .profile files in the system?

Q. he problem of the VOH(min) of a TTL IC being too low to drive a CMOS circuit and meet the CMOS requirement of VIH(min) is usually easily overcome by:


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • UC Quiz
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy
  • Get the source code

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger