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

IN CLASS WE USE BOTH VARIABLE AND FUNCTION OR IN STRUCTURE WE USE VARIABLE ONLY....

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2204


What is byval and byref? What are differences between them?

2269


Why interface is used?

1067


What are two types of polymorphism?

1121


How can you overcome the diamond problem in inheritance?

1228


Can we create object of interface?

1175


What is inheritance and how many types of inheritance?

1156


What are the 4 main oop principles?

1265


What is overloading and its types?

1248


What is and I oop mean?

1277


How to hide the base class functionality in Inheritance?

1187


What are benefits of oop?

1196


How do you define a class in oop?

1173


What is pointer in oop?

1125


What is overriding in oop?

1098