What does '\r' and '\b' mean? Please explain with example.

Answer Posted / v

printf("ABC\bDE");


It prints only "DE", because the printed ABC will be removed
by '\b'

Is This Answer Correct ?    11 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why #include is used?

613


What is the function to call to turn an ascii string into a long?

595


What is class and structure in c++?

554


What is the limitation of cin while taking input for character array?

1451


Which is the best c++ software?

604






What is the identity function in c++? How is it useful?

548


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3354


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

599


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

608


List down the guideline that should be followed while using friend function.

644


How can we access protected and private members of a class?

587


What are punctuators in c++?

643


Where and why do I have to put the "template" and "typename" keywords?

578


what are the iterator and generic algorithms.

1685


What is c++ used for in games?

600