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 are the 5 oop principles?
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?
create a c++ program that will accepts 9 inputs using 3 by 3 array.
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
what is oops
What is inheritance in simple words?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Write a macro for swapping integers
What are the advantages of inheritance?
26 Answers IBS, TCS,
i got a backdoor offer in process global,Bangalore..Can i work with it?
Is oop better than procedural?
What is overloading and its types?