Question: what does t do in c++?
Answer: '\n ' and '\t ' are considered to be one character rather than two. i.e. not \ and n separately. \n is used for shifting to a new line. \t is used to give a tab space.