CBSE BOARD X, asked by dxb3521713, 3 months ago

What is a macro? Give the syntax to define a macro as a function.

Answers

Answered by Anonymous
3

To define a macro that uses arguments, you insert parameters between the pair of parentheses in the macro definition that make the macro function-like. To invoke a macro that takes arguments, you write the name of the macro followed by a list of actual arguments in parentheses, separated by commas.

Answered by aaisha1100
3

Answer:

To define a macro that uses arguments, you insert parameters between the pair of parentheses in the macro definition that make the macro function-like. ... To invoke a macro that takes arguments, you write the name of the macro followed by a list of actual arguments in parentheses, separated by commas.

Similar questions