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 are the differences between a struct and a class in
C++?

Answer Posted / ramesh kasi

The only difference is related to the default access
specifier.
The members of a structure have public access by default.
The members of a calss have private access by default.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who invented turbo c++?

1079


What are c++ stream classes?

1062


Can java be faster than c++?

1169


How do I tokenize a string in c++?

1111


Why is it called c++?

1047


Why is c++ considered difficult?

1163


Which programming language's unsatisfactory performance led to the discovery of c++?

1347


What are the characteristics of friend functions?

1038


What is the difference between containment and delegation?

1350


What are the advantages of early binding?

1078


What is an associative container in c++?

1076


what are the iterator and generic algorithms.

1952


Define the operators that can be used with a pointer.

1076


What do the header files usually contains?

1064


What do you know about near, far and huge pointer?

1154