Question 18: You have defined below program
data course100;
set course101;
array fee{4} fee1 fee2 fee3 fee4;
array new_fee{4} nfee1 nfee2 nfee3 nfee4;
do index=1 to 4;
put _all_;
new_fee{index}=fee{index}+fee{index}*.10;
end;
run;
what is the index value which can point variable fee3 and nfee4
- 3 , 4
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 1 Exp : Array variables can be referenced by their index position, in this case we will have fee3 at index 3 and nfee4 at index 4 .
You can access to full explanation to question and answer from this page.