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 in C++?

Answer Posted / pradeepramagiri

class members have the privite access by default where as
structure members have the public access by default

Is This Answer Correct ?    34 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static class have constructor?

1083


Why do we use oop?

1164


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

2198


What is meant by oops concept?

1107


What is an interface in oop?

1087


When not to use object oriented programming?

1176


What is inheritance in simple words?

1115


What is an example of genetic polymorphism?

1240


What is class and object with example?

1215


What are different oops concepts?

1111


What is for loop and its syntax?

1131


What is class and example?

1262


Why is polymorphism used?

1084


What is object in oops?

1120


What are benefits of oop?

1196