What is a macro? And how is a macro same as a template?
Answers were Sorted based on User's Feedback
Answer / jigar
In Microsoft Word and other programs, a macro is a saved
sequence of command s or keyboard strokes that can be stored
and then recalled with a single command or keyboard stroke.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / poonam
Would you please elaborate your answer... This question was
posted by me. I want to know the answer in c++ point of veiw.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / alka pant
In C and C++, a Macro is a piece of text that is expanded by
the preprocessor part of the compiler.
This is used in to expand text before compiling.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
What is class encapsulation?
What polymorphism means?
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
inheritence with example
What is the Advantage of Interface over the Inheritance in OOPS?
when to use 'mutable' keyword and when to use 'const cast' in c++
create a c++ program that will ask 10 numbers and display their sum using array.
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What does enum stand for?
What are the three parts of a simple empty class?
Precompilation ?
what is the difference between <stdio.h>and "stdio.h"?