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
Why is polymorphism used?
What are the 4 pillars of oop?
#include
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
when to use 'mutable' keyword and when to use 'const cast' in c++
What is persistence in oop?
What are the three parts of a simple empty class?
What is the purpose of polymorphism?
How to hide the base class functionality in Inheritance?
What are the benefits of oop?
What is inheritance and how many types of inheritance?
Which language is pure oop?
What is polymorphism and its types?
What are main features of oop?
what's the basic's in dot net