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

Explain the advantages of inheritance.

1149


What is encapsulation oop?

1041


What are the three parts of a simple empty class?

2052


What does enum stand for?

1121


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

3084


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1919


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

1635


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2197


What is data binding in oops?

1097


What is the oops and benefits of oops programming?

976


What is polymorphism what is it for and how is it used?

1021


can inline function declare in private part of class?

4409


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6678


What is overriding in oop?

1039


What are the components of marker interface?

1057