What does '\r' and '\b' mean? Please explain with example.
Answer Posted / siva
above two answers are wrong.
i tested the following is the correct answer
\r is known as carriage return
e.g printf("ABC\rDE");
DE will get printed.
\b is known as back literal
e.g. printf("ABC\bDE");
ABDE will get printed.
| Is This Answer Correct ? | 31 Yes | 21 No |
Post New Answer View All Answers
Explain what is class definition in c++ ?
What is type of 'this' pointer?
What is the difference between structures and unions?
Do vectors start at 0 c++?
How will you call C functions from C ++ and vice-versa?
Can you write a function similar to printf()?
What are c++ redistributables?
What are the stages in the development cycle?
What are the vectors in c++?
What are associate containers?
What is scope in c++ with example?
Which operator cannot overload?
What kind of problems can be solved by a namespace?
Does dev c++ support c++ 11?
How do I get good at c++ programming?