Q.

Which of the following statement prints hello\example\test.txt?

A. print(“hello\\example\\test.txt”)
B. print(“hello\\example\\test.txt”)
C. print(“hello\\”example\\”test.txt”)
D. print(“hello”\\example”\\test.txt”)
Answer» B. print(“hello\\example\\test.txt”)
Explanation: \is used to indicate that the next
1.3k
0
Do you find this helpful?
1

Discussion

No comments yet