nerdexam
SAS_Institute

A00-212 · Question #152

A00-212 Question #152: Real Exam Question with Answer & Explanation

The correct answer is D. %let name = %str(Patel%'s Restaurant);. See the full explanation below for the reasoning.

Question

The following SAS program is submitted: %let name = Patel's Restaurant; Which one of the following statements avoids problems associated with the unbalanced quotation mark?

Options

  • A%let name = Patel%'s Restaurant;
  • B%let name = %str(Patel's Restaurant);
  • C%let name = Patel%str(')s Restaurant;
  • D%let name = %str(Patel%'s Restaurant);

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice