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
Differences between private, protected and public and give examples.
What is the function to call to turn an ascii string into a long?
What is the benefit of learning c++?
Why is swift so fast?
What is the difference between the compiler and the preprocessor?
Define friend function.
What is an arraylist c++?
What is a terminating character in c++?
Is it possible to provide default values while overloading a binary operator?
Can I learn c++ as my first language?
How are Structure passing and returning implemented by the compiler?
describe private access specifiers?
What is difference between c++ 11 and c++ 14?
What are associate containers?
Is c++ vector a linked list?