nerdexam
SAS_Institute

A00-212 · Question #180

The following SAS program is submitted: What is the value of the macro variable Newval when the %PUT statement executes?

The correct answer is C. 1. Explanation/Reference: %PUT statement shows that %EVAL discards the fractional part when it performs division on integers that would result in a fraction.

iWork Integration

Question

The following SAS program is submitted:

What is the value of the macro variable Newval when the %PUT statement executes?

Exhibit

A00-212 question #180 exhibit

Options

  • A0.555
  • B2.2
  • C1
  • D2

How the community answered

(17 responses)
  • A
    6% (1)
  • C
    82% (14)
  • D
    12% (2)

Explanation

Explanation/Reference: %PUT statement shows that %EVAL discards the fractional part when it performs division on integers that would result in a fraction.

Topics

#macro variable#PUT statement#macro evaluation#SAS macros

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice