Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Differences between private, protected and public and give examples.

1123


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

1123


What is the benefit of learning c++?

1046


Why is swift so fast?

1178


What is the difference between the compiler and the preprocessor?

1172


Define friend function.

1115


What is an arraylist c++?

1273


What is a terminating character in c++?

1447


Is it possible to provide default values while overloading a binary operator?

1324


Can I learn c++ as my first language?

1158


How are Structure passing and returning implemented by the compiler?

1210


describe private access specifiers?

1316


What is difference between c++ 11 and c++ 14?

1173


What are associate containers?

1099


Is c++ vector a linked list?

1047