SAS_Institute
A00-212 · Question #7
The following SAS program is submitted: %macro check(num = 4); %let result = %eval(&num gt 5); %put result is &result; %mend; %check(num = 10) What is written to the SAS log?
The correct answer is B. result is 1. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
%macro check(num = 4); %let result = %eval(&num gt 5); %put result is &result; %mend; %check(num = 10) What is written to the SAS log?
Options
- Aresult is 0
- Bresult is 1
- Cresult is 10 gt 5
- Dresult is true
How the community answered
(30 responses)- A7% (2)
- B80% (24)
- C3% (1)
- D10% (3)
Community Discussion
No community discussion yet for this question.