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 the oops and benefits of oops programming?
what is the main difference between c and c++?
386 Answers AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,
Can private class be inherited?
What is polymorphism and example?
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
What is R T T I ?
for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
what are the uses of C++
Difference between realloc() and free?
is there any choice in opting subjects like 4 out of 7