Write a macro for swapping integers
Answers were Sorted based on User's Feedback
Answer / deepak
# define swap(a,b) a = a + b; b = a - b; a = a - b;
| Is This Answer Correct ? | 50 Yes | 8 No |
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Get me a number puzzle game-program
What are generic functions and generic classes?
Is abstract thinking intelligence?
what is runtime polymorphism? For the 5 marks.
What is Iteration Hierarchy? What is what is Object behavioral concept?
How to create a comment page in C #??
what is polymorpsim? what are its types?
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.