What is size of Empty Class?

Answer Posted / rahul

1 Byte. Class is static entity.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does obj stand for?

635


Define stacks. Provide an example where they are useful.

584


What does the linker do?

599


What is oops in c++?

593


Program to check whether a word is a sub-string or not of a string typed

1601






What is the difference between *p++ and (*p)++ ?

785


Why is c++ considered difficult?

651


What are smart pointers?

672


What is the rule of three?

576


Explain the problem with overriding functions

609


Is c++ a pure oop language?

606


What does new return if there is insufficient memory to make your new object?

593


Is c++ still being used?

568


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

1751


Write a program to interchange 2 variables without using the third one.

590