Answer Posted / divyaja
Sometimes, a programmer will want to
define a custom "thing" and the operations
that can be performed on that "thing"
• A class is the definition
• An object is a particular instance of a class
• Classes contain
– data, called members
– functions, called methods
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Define a pointer to a data member of the type pointer to pointer?
Can we use this pointer in a class specific, operator-overloading function for new operator?
What is the difference between structures and unions?
What are pointer-to-members in C++? Give their syntax.
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
Is facebook written in c++?
What is the standard template library (stl)?
Which c++ compiler is best?
what is upcasting in C++?
What is cin clear () in c++?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
You run a shell on unix system. How would you tell which shell are you running?
How would you find out if a linked-list is a cycle or not?
What are the benefits of oop in c++?
Is c++ slower than c?