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

Write about the members that a derived class can add?

974


What is difference between class and function?

1089


Is dev c++ free?

1046


What is a memory leak c++?

1140


You run a shell on unix system. How would you tell which shell are you running?

1173


How should runtime errors be handled in c++?

1147


Out of fgets() and gets() which function is safe to use and why?

1189


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)

1950


what does the following statement mean? int (*a)[4]

1078


What are compilers in c++?

1070


What is the difference between delegation and implemented-in-terms-of?

1006


How is computer programming useful in real life?

1065


What is a character in c++?

1045


Differentiate between a constructor and a destructor in c++.

1017


Is c++ the hardest language?

989