Exit A00-211 SAS Base Programming for SAS 9
Question 3 of 5
0% complete
Q3 Single choice

The following SAS program is submitted:

data combine;
prefix='505';
middle='6465 `;
end='09090';
<insert statement here>;
run;

Which statement successfully completes the program so that TOTAL has a value of 505-6465-09090?

  • A

    total = cat('-', prefix, middle, end);

  • B

    total = catx('-', prefix, middle, end);

  • C

    total = prefix !!'-'!! middle ``!!'-'!! end;

  • D

    total = prefix!!'-'!! left(middle)!!'-'!! end;