What is operator overloading? Give Example
Answer Posted / selva
operator performing different task based on argument supplied.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Templates mean
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What do you mean by variable?
What is pure oop?
What is destructor oops?
What is inheritance and how many types of inheritance?
#include
What are objects in oop?
What is variable example?
What is class and example?
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 this pointer in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Write A Program to find the ambiguities in Multiple
Inheritance? How are they
resolved.(Virtual Functions)
Which type does string inherit from?