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
Write about the members that a derived class can add?
What is difference between class and function?
Is dev c++ free?
What is a memory leak c++?
You run a shell on unix system. How would you tell which shell are you running?
How should runtime errors be handled in c++?
Out of fgets() and gets() which function is safe to use and why?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
what does the following statement mean? int (*a)[4]
What are compilers in c++?
What is the difference between delegation and implemented-in-terms-of?
How is computer programming useful in real life?
What is a character in c++?
Differentiate between a constructor and a destructor in c++.
Is c++ the hardest language?