what is the size of an empty class

Answer Posted / muniskehar

size of an empty class is 1Byte

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of polymorphism?

683


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2170


What does I oop mean?

618


What is class encapsulation?

598


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4245






What is super in oop?

599


What do you mean by overloading?

583


What is oops concept with example?

580


class type to basic type conversion

1839


explain sub-type and sub class? atleast u have differ it into 4 points?

1838


What are the 5 oop principles?

603


How do you explain polymorphism?

595


What is methods in oop?

547


What is difference between oop and pop?

619


What does <> mean pseudocode?

624