Home / Programming MCQs / Ruby MCQs / Question

V

Vinay Kumar • 8.55K Points
Tutor III

Q. single-quoted strings don`t allow ?

(A) substitution
(B) backslash notation
(C) single-quoted strings allow substitution and backslash notation.
(D) single-quoted strings don`t allow substitution and allow backslash notation.
Explanation by: Vinay Kumar
single-quoted strings don`t allow substitution and allow backslash notation only for \ and '.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.