Why do we use classes in c++?
Answer / Vashu Rajput
Classes in C++ allow for the creation of user-defined data types and objects with their own properties (attributes) and behaviors (methods). They help organize code, encapsulate data, and promote reusability and maintainability.
| Is This Answer Correct ? | 0 Yes | 0 No |
which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE
What is the output of the following program? Why?
Can char be a number c++?
What do you mean by volatile and mutable keywords used in c++?
What is an iterator?
What would happen on forgetting [], while deallocating an array through new?
Does std endl flush?
Can you pass a vector to a function?
What is bubble sort c++?
Why would you make a destructor virtual?
What is pure virtual function?
What are static type checking?