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 this interview room ? Is it a class or an object.
write a short note on Overloading of Binary Operator?
What is abstraction?
create a c++ program that will accepts 9 inputs using 3 by 3 array.
What are the OOPS concepts?
106 Answers A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,
What normal C constructs work differently in C++?
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
What language is oop?
What is methods in oop?
what's the basic's in dot net
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
What is class and object in oops?