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 is the fastest c++ compiler?
Describe linked list using C++ with an example.
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
Does c++ support multilevel and multiple inheritances?
Describe the syntax of single inheritance in C++?
What is nested class in c++?
Should I learn c or c++ or c#?
Which programming language's unsatisfactory performance led to the discovery of c++?
Why do we use classes in c++?
What is a list c++?
What is a float in c++?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Explain the use of virtual destructor?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
Can create new c++ operators?