what is the size of a class which contains no member
variables but has two objects??? is it 1 or 2??
Answer Posted / rao
2 (if two objects are empty class) otherwise Note : The
size of class = the size of Data members of the objects +
Size of data members of the Class.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Define macro.
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
What is a manipulator in c++?
What is java and c++?
What is a c++ vector?
What is the type of 'this' pointer? When does it get created?
How do you write a function that can reverse a linked-list?
What is heap sort in c++?
What is the best way to take screenshots of a window with c++ in windows?
What is std namespace in c++?
what is a class? Explain with an example.
What is the difference between #import and #include?
What jobs can you get with a c++ certification?
What is the meaning of string in c++?
What is a .lib file in c++?