Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is size of null class?

Answer Posted / divyachinnamaru

Eg :
class A // empty class
{

};
int main()
{
cout<<"size of class is "<<sizeof(A)<<endl;
return 0;
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain object slicing in c++?

1124


What are smart pointers?

2388


Can c++ be faster than c?

1079


What are the advantages of using pointers in a program?

1190


What will the line of code below print out and why?

793


Explain differences between alloc() and free()?

1210


How can I learn dev c++ programming?

1104


What are c++ tokens?

1117


What is helper in c++?

1151


What are the methods of exporting a function from a dll?

1299


Why c++ is called oop?

1175


What is setf in c++?

1153


What is difference between class and structure in c++?

1252


Explain how the virtual base class is different from the conventional base classes of the opps.

1211


Can comments be nested?

1082