SAS_Institute
A00-212 · Question #127
The following SAS program is submitted: %let a = cat; %macro animal(a = frog); %let a = bird; %mend; %animal(a = pig) %put a is &a; Which one of the following is written to the SAS log?
The correct answer is B. a is cat. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
%let a = cat; %macro animal(a = frog); %let a = bird; %mend; %animal(a = pig) %put a is &a; Which one of the following is written to the SAS log?
Options
- Aa is &a
- Ba is cat
- Ca is pig
- Da is bird
How the community answered
(42 responses)- A2% (1)
- B81% (34)
- C5% (2)
- D12% (5)
Community Discussion
No community discussion yet for this question.