Answer Posted / balaji ramdoss
#define SWAP(a,b) b=a+b-(a=b)
| Is This Answer Correct ? | 19 Yes | 12 No |
Post New Answer View All Answers
Is enum a class?
What is this pointer in oop?
What is the importance of oop?
What is encapsulation c#?
What is the difference between procedural programming and oops?
How oops is better than procedural?
#include
What is the highest level of cohesion?
What is inheritance and how many types of inheritance?
What is overriding in oop?
is there any choice in opting subjects like 4 out of 7
What is an interface in oop?
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
Why do we use oops?
any one please tell me the purpose of operator overloading