What is the difference between a class and a structure in C++?
Answer Posted / nashiinformaticssolutions
With the exception of member variables and methods' default accessibility setting, class and structure (or struct) are essentially the same in C++. They are configured as public in a structure and private in a class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is it possible to get the source code back from binary file?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is the use of structure in c++?
What is a class template?
What methods can be overridden in java?
What is the basic concept of c++?
Which programming language should I learn first?
List down the guideline that should be followed while using friend function.
Show the declaration for a pointer to function returning long and taking an integer parameter.
What is setiosflags c++?
Is it possible for a member function to use delete this?
When do we run a shell in the unix system?
What is the meaning of string in c++?
Can we use clrscr in c++?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard