nerdexam
SAS_Institute

A00-202 · Question #69

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 D. a is cat. SAS A00-202 Exam

iWork Integration

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 pig
  • Ba is &a
  • Ca is bird
  • Da is cat

How the community answered

(52 responses)
  • A
    15% (8)
  • B
    8% (4)
  • C
    4% (2)
  • D
    73% (38)

Explanation

SAS A00-202 Exam

Topics

#macro variables#variable scope#macro parameters#SAS log output

Community Discussion

No community discussion yet for this question.

Full A00-202 Practice