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 the Difference between Class and Struct?

Answer Posted / ashish srivastava

by default
struct elements are public
while
class elements are private

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1035


Explain what is wrong with this program statement? Void = 10;

1195


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

1010


Are there constructors in c?

970


What is the difference between typedef struct and struct?

1066


What is a static variable in c?

1067


What is c language in simple words?

1013


What is the mean of function?

1064


What is pointer to pointer in c language?

1050


Explain how can I avoid the abort, retry, fail messages?

990


How will you delete a node in DLL?

1220


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10140


Is it possible to have a function as a parameter in another function?

1038


What does emoji p mean?

1046


Is it acceptable to declare/define a variable in a c header?

1060