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 are pointers used for c++?
What is the use of cmath in c++?
Describe the advantage of an external iterator.
What is the default width for ouputting a long integer using the insertion operator?
Difference between declaration and definition of a variable.
What is c++ prototype?
Do you need a main function in c++?
Define a pdb file.
Is c++ a float?
Which c++ operator cannot overload?
What does ios :: app do in c++?
Should you pass exceptions by value or by reference?
What is the meaning of c++?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
Differentiate between C and C++.