nerdexam
SAS_Institute

A00-212 · Question #16

The following SAS program is submitted: %macro check(num = 4); %let result = %sysevalf(&num + 0.5); %put result is &result; %mend; %check(num=10) What is the written to the SAS log?

The correct answer is C. result is 10.5. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

%macro check(num = 4); %let result = %sysevalf(&num + 0.5); %put result is &result; %mend; %check(num=10) What is the written to the SAS log?

Options

  • Aresult is
  • Bresult is 10
  • Cresult is 10.5
  • Dresult is 10 + 0.5

How the community answered

(20 responses)
  • A
    10% (2)
  • B
    5% (1)
  • C
    80% (16)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice