d) Formal parameters, because they are in the definition of the macro.
If they were in an invocation of a macro, they would be actual
parameters, as in
ADD a,b
a and b are actual parameters, and the macro expands as
LOAD b
MUL a
STORE b
Where each instance of a formal parameter has been replaced by its
actual parameter.
Dave
On Nov 17, 5:32 am, Vijay Khandar <[email protected]> wrote:
> What are x and y in the following macro definition?
>
> macro ADD x,y
> LOAD y
> MUL x
> STORE y
> end macro
>
> a) Variables
> b)Identifiers
> c)Actual Parameters
> d) Formal Parameters
>
> plz anyone explain.........
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.