What is a class definition?
Answer / Nirpendra Yadav
A class definition in C++ defines a user-defined data type that consists of one or more variables (member variables or fields), and functions (member functions) that operate on those variables. A class serves as a blueprint for creating objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of seekg in c++?
What does flush do?
What is the use of pointer in c++ with example?
Write some differences between an external iterator and an internal iterator?
Write about a nested class and mention its use?
What does ctime() do?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is atoi in c++?
How can you say that a template is better than a base class?
When the design recommends static functions?
If there are two catch statements, one for base and one for derived, which should come first?
What is the difference between a shallow copy and a deep copy?