nerdexam
National_Instruments

200-500 · Question #96

You analyze the code of a colleague and see a call to the function quotemeta(). You give the string "Holy $%&[. What's going on?" as a parameter to it. What will it output?

The correct answer is B. Holy \$%&\[\. What's going on\? See the full explanation below for the reasoning.

Question

You analyze the code of a colleague and see a call to the function quotemeta(). You give the string "Holy $%&[. What's going on?" as a parameter to it. What will it output?

Options

  • AHoly $%&[. What's going on?
  • BHoly $%&[. What's going on?
  • CHoly $%&[. What's going on?
  • DHoly $%&[. What's going on?

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    74% (35)
  • C
    4% (2)
  • D
    15% (7)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice