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
What is the best c++ compiler?
How compile and run c++ program in turbo c++?
What is a flag in c++?
Describe Trees using C++ with an example.
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What are the differences between malloc() and calloc()?
How do you invoke a base member function from a derived class in which you have not overridden that function?
Is c better than c++?
What is virtual table?
Which is not a valid keyword a) public b) protected c) guarded
Can we distribute function templates and class templates in object libraries?
What is a storage class? Mention the storage classes in c++.
What is c strings syntax?
What is token c++?
What is the difference between a baller and a reference in C++?