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 / vishnupriya

1.the variables of struct r jus varialbles inly,whereas it
it objects for class...

2. pointers can be used in structure only for same return
types,but in classes it can be uses for diff classes

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you call a function, given its name as a string?

1204


Explain how do you print only part of a string?

1277


Difference between Function to pointer and pointer to function

1125


What is static and auto variables in c?

1138


What are the scope of static variables?

1250


Why does not c have an exponentiation operator?

1114


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

1183


What is the maximum length of an identifier?

1231


What is the g value paradox?

1247


What are pointers?

1157


What is the use of typedef in c?

1079


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1115


In a byte, what is the maximum decimal number that you can accommodate?

1195


Write a program to identify if a given binary tree is balanced or not.

1228


What is meant by 'bit masking'?

1435