What is a macro? And how is a macro same as a template?
Answer Posted / vijay pratap
In C and C++,Macro is a user defined funtion.Which you can
make the function according to you.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between inheritance and polymorphism?
What is an advantage of polymorphism?
What is static modifier?
What is polymorphism used for?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
How do you achieve runtime polymorphism?
Is oop better than procedural?
How do you use inheritance in unity?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What are the advantages of polymorphism?
Why is polymorphism used?
How do you define a class in oop?
What is a superclass in oop?
Can destructor be overloaded?
What are the 4 pillars of oop?