Answer Posted / ajay yadav
Unary operators are those...which operate on only one
operand.
For eg. a++(only one operand is present) as we are
incrementing the value for a.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Can destructor be overloaded?
How do you explain polymorphism?
Can you explain polymorphism?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is the types of inheritance?
What is the real life example of polymorphism?
What is difference between inheritance and polymorphism?
What is overloading and its types?
How do you answer polymorphism?
Can you inherit a private class?
What are functions in oop?
Can we define a class within the interface?
What is the difference between inheritance and polymorphism?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is variable example?