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 Structure?

Answer Posted / vadivel

i. Structure are value type where as class are reference
type.
ii. Structure are default public where as class are default
private.
iii. 'this' pointer will work only in class.

Is This Answer Correct ?    395 Yes 78 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain this pointer?

1000


How do you flush a buffer in c++?

1057


Is java easier than c++?

955


What is an incomplete type in c++?

1209


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

1083


Can you please explain the difference between static and dynamic binding of functions?

971


write a function signature with various number of parameters.

989


What do nonglobal variables default to a) auto b) register c) static

1097


Why is c++ still used?

1011


Difference between struct and class in terms of access modifier.

1146


What are c++ variables?

1002


Why c++ is created?

949


which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

1139


What is the use of this pointer in c++?

968


Which function cannot be overloaded c++?

1049