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
What's the order in which the objects in an array are destructed?
Explain what is polymorphism in c++?
What is c++ try block?
Is c better than c++?
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?
What is c++ & why it is used?
Why c++ is so important?
Will c++ be replaced?
What is atoi in c++?
What is a buffer c++?
What is the difference between ++ count and count ++?
Write a program to show polymorphism in C++?
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.
What are the four partitions in which c++ compiler divides the ram?
Differentiate between a constructor and a destructor in c++.