Skip to content
Related Articles

Related Articles

Improve Article

Python-Quizzes | Python String Quiz | Question 14

  • Last Updated : 18 Sep, 2020

Question 14: What is the output of the following program?




print (r'C:\\inside C directory')

(A) C:\inside C directory
(B) C:\\inside C directory
(C) inside C directory
(D) Error


Answer: (B)

Explanation: It is a raw string that will treat backslash as a normal character.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :