give me some class & objects examples?
Answer / 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 |
How would you use the functions memcpy(), memset(), memmove()?
What is the stack?
What is else syntax in c++?
Difference between a copy constructor and an assignment operator.
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?
What is the difference between prefix and postfix versions of operator++()?
When can you tell that a memory leak will occur?
What is the benefit of c++?
What is else if syntax?
Is oops and c++ same?
What are built-in functions? What is the syntax for the definition?
How would you use the functions randomize() and random()?