what is the size of a class which contains no member
variables but has two objects??? is it 1 or 2??

Answer Posted / kundan kumar

1

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the order in which the objects in an array are destructed?

850


Explain what is polymorphism in c++?

623


What is c++ try block?

577


Is c better than c++?

611


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1766






What is c++ & why it is used?

588


Why c++ is so important?

602


Will c++ be replaced?

544


What is atoi in c++?

562


What is a buffer c++?

581


What is the difference between ++ count and count ++?

575


Write a program to show polymorphism in C++?

623


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

605


What are the four partitions in which c++ compiler divides the ram?

698


Differentiate between a constructor and a destructor in c++.

558