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

By default the members of struct are public.
By default the members of class are priavte.

When an object is created to a class, constructor will be
called automatically.
But not in struct (if structure having member function with
structure name)

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are two types of polymorphism?

1081


What are main features of oop?

1126


What is the importance of oop?

1102


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1644


What is overriding in oops?

1119


what is different between oops and c++

2557


What is the fundamental idea of oop?

1143


What are the benefits of polymorphism?

1281


Which language is pure oop?

1025


What are the important components of cohesion?

1027


What polymorphism means?

1087


What is oops with example?

1058


What is abstraction in oop?

1141


Why is there no multiple inheritance?

1010


class type to basic type conversion

2421