Which of the following will properly encode the string wt in
Which of the following will properly encode the string \'\\w\\\\\\t\'\' into variable s? (Choose 2) Select one or more. s = \"\\\\w\\\\\\\\\\\\t\"; s = \"\\w\\\\\\t\"; c. s = \"/w///t\", d. s = R\"(\\w\\\\\\t)\";
Solution
Ans: a: s = \"\\\\w\\\\\\\\\\\\t\" : extra \'\\\' is used as escape character
d. s = R\"(\\w\\\\\\t)\"
