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

What are pointers used for c++?

1033


What is the use of cmath in c++?

1029


Describe the advantage of an external iterator.

1006


What is the default width for ouputting a long integer using the insertion operator?

1204


Difference between declaration and definition of a variable.

1106


What is c++ prototype?

1118


Do you need a main function in c++?

1097


Define a pdb file.

1044


Is c++ a float?

1027


Which c++ operator cannot overload?

963


What does ios :: app do in c++?

999


Should you pass exceptions by value or by reference?

1108


What is the meaning of c++?

986


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

1344


Differentiate between C and C++.

1202