Anonymous
Write your answer here. And keep checking whether it's been chosen as the Best Answer.
*
Please enter answer before submitting.
Be the first to answer. Click here
Can you answer these
Computers & Technology
questions?
Basic Structure of a MacroThe basic structure is as follows: define int mymacroparameter definition return type, name, parameters int parameter; setting the types of the parameters // Body short-circuiting rules of standard C. Macros. All macros in the expression are expanded before actual computation of the expression...define macro-name formal parameter expressionfor example you want
Posted in
Computers & Technology by
mamata pal
at
10:39 PM on October 06, 2008
of the translation unit.Macros can be redefined without an intervening undef directive. Any parameters used must agree in number and spelling, and the replacement lists must be identical. All white space is treated-list a macro with formal parameters is defined. The macro name is the identifier and the formal parameters are provided by the identifier-list which is enclosed in parentheses. The first parenthesis must
Posted in
Computers & Technology by
Nawraj
at
6:19 PM on March 27, 2008
statement contains the name of the macro definition and usually some variable parameter information. Macros were and are useful especially when a sequence of instructions is used a number of timesA script that operates a series of commands to perform a function. It is set up to automate repetitive tasks...MACRO is a symbol, name, or key that represents a list of commands, actions
Posted in
Computers & Technology by
kajol devgan
at
11:43 PM on April 07, 2008
There is no way for the compiler to verify that the macro parameters are of compatible types. The macro is expanded without any special type checking.If macro parameter has a postincremented variable of token.The parameters passed to a macro are also arbitrary sequencesof tokens. Translation of macros can be thought of as aphase in compilation that takes place between tokenizationand parsing. This is why
Posted in
Computers & Technology by
Ranju
at
2:59 PM on August 15, 2008
instruction into a number of instructions. The macro statement contains the name of the macro definition and usually some variable parameter information....A macro is a set of individual commands for use as aA macro in computer science is a rule or pattern that specifies how a certain input sequence often a sequence of characters should be mapped to an output sequence also often a sequence of characters
Posted in
Computers & Technology by
Avijit Dutta
at
9:26 PM on March 17, 2008
of instructions. The macro statement contains the name of the macro definition and usually some variable parameter information. Macros were and are useful especially when a sequence of instructions is used a number, and the abstraction of the macro simplified coding and understanding code. Complex macro-assemblers offered sophisticated ways to add parameters to macros, so that the macro would expand in different ways according
Posted in
Computers & Technology by
cool
at
11:56 PM on November 04, 2007