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
Is there structure in c++?
Write a program in c++ to print the numbers from n to n2 except 5 and its multiples
What is data binding in c++?
How do you clear a buffer in c++?
What is the difference between struct and class?
What are put and get pointers?
What is the difference between the functions rand(), random(), srand() and randomize()?
Define the process of handling in case of destructor failure?
What are the basics of local (auto) objects?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
Explain the isa and hasa class relationships. How would you implement each?
List the special characteristics of constructor.
Describe new operator and delete operator?
What can c++ be used for?
How do you declare A pointer to function which receives an int pointer and returns a float pointer