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 encapsulation with real life example?
What is the difference between Home and $Home?
write knight tour problem which is present in datastructure
Which method cannot be overridden?
What is difference between abstraction and encapsulation?
What are callback functions in c++
Can we override main method?
Prepare me a program for the animation of train
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
Is data hiding and abstraction same?
can you give real time example for polymarphism
how to find the largest of given numbers in an array