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

What is the difference between ++ count and count ++?

1084


Explain queue. How it can be implemented?

1104


What new()is different from malloc()?

1045


How would you use the functions sin(), pow(), sqrt()?

1133


How does com provide language transparency?

962


What is the main use of c++?

1062


What is the difference between a template and a macro?

998


What is the best it certification?

1058


Please explain class & object in c++?

1044


What is boyce codd normal form in c++?

1101


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

972


Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.

2525


Explain function overloading and operator overloading.

1020


Differentiate between C and C++.

1172


Write a program in c++ to print the numbers from n to n2 except 5 and its multiples

2424