What is size of a empty class?
Answer Posted / dips
it doesnot take memory just writing class in C++
means i want to say
class d{};
no memory allocation is done here
but is this a empty class?
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What are put and get pointers?
What is difference between c++ 11 and c++ 14?
What are shallow and deep copy?
What are stacks?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
How do you show the declaration of a virtual constructor?
Is linux written in c or c++?
Do inline functions improve performance?
Write about the various sections of the executable image?
What is the syntax for a for loop?
What should main() return in c and c++?
What is encapsulation in c++ with example?
What is #include cstdlib in c++?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
How do I write a c++ program?