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

How is new() different from malloc()?

860


Do you know what are static and dynamic type checking?

837


What is the best ide for c++?

806


Distinguish between new and malloc and delete and free().

778


What is a storage class?

896


How can virtual functions in c++ be implemented?

840


What is the use of setfill in c++?

812


What is #include iostream in c++?

799


When is the copy constructor called?

884


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

1877


Write a program to find the Factorial of a number

809


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

832


What is else if syntax?

891


What is the difference between a declaration and a definition?

821


Is c++ built on c?

778