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
What is conditions when using boolean operators?
How does c++ structure differ from c++ class?
Differentiate between realloc() and free().
Can a list of string be stored within a two dimensional array?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
What is the use of map in c++?
What is the difference between a declaration and a definition?
What is istream c++?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
When one must use recursion function? Mention what happens when recursion functions are declared inline?
When is the copy constructor called?
Where the memory to the static variables is allocated?
What is c strings syntax?
How do I run a program in notepad ++?
program explaining feautures of c++