Important MCQ

The escape sequence \t represents

Q.The escape sequence \t represents

A) a tab
B) a backspace
C) a new line
D) a quote
Correct Answer:
Option A
Detailed Explanation:
A) a tab is correct. cout is an ostream object used for screen output with the insertion operator <<. Quoted text is printed literally, expressions are evaluated, and endl or \n starts a new line.