BookmarkSubscribeRSS Feed

SAS Ceritified Advanced Programmer 덤프 풀이 52-53

Started ‎06-15-2020 by
Modified ‎06-15-2020 by
Views 139

52. The following SAS program is submitted:

%let value=9;

%let add=5;

%let newval=%eval(&value/&add);

What is the value of the macro variable NEWVAL?

A. null

B. 2

C. 1

D. 1.8

정답 : C

해설 : eval은 정수형만 반환하는 매크로 변수입니다. 소수점끼리 덧셈,뺃셈을 할 경우 Null값이 출력되고, 나눗셈을 할 경우 내림한 값이 출력됩니다. 1.8이므로 1이 출력됩니다.

Version history
Last update:
‎06-15-2020 04:26 AM
Updated by:
Contributors

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Article Labels
Article Tags