what is the difference between class and structure in C++?

Answer Posted / naveen tuteja

We can declare a structure without a name tag but we cannot
declare a class without name tag.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

2782


Explain the concepts involved in Object Oriented programming.

845


Where You Can Use Interface in your Project

1587


Get me a number puzzle game-program

1903


Write a c++ program to display pass and fail for three student using static member function

3059






Is react oop?

795


What is property in oops?

765


What is the problem with multiple inheritance?

790


What is abstraction in oops with example?

970


What is class in oop with example?

805


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

6337


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

1850


hi all..i want to know oops concepts clearly can any1 explain??

1868


What is abstraction in oops?

764


What are classes oop?

775