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 is namespace & why it is used in c++?

606


What is a Default constructor?

917


What is a null object in c++?

631


What is the use of cmath in c++?

588


What is the most powerful coding language?

610






What is the use of 'this' pointer?

765


What does #define mean in c++?

611


What is double in c++?

559


What do you mean by delegate? Can a user retain delegates?

523


Which is best ide for c++?

567


Explain the difference between struct and class in terms of access modifier.

693


What is std :: flush?

576


What is the extraction operator and what does it do?

612


What is the outcome of cout< a) 16 b) 17 c) 16.5

624


Search for: what is pair in c++?

589