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 is the best free c++ compiler for windows?

1113


Is c++ a programming language?

1090


Which bit wise operator is suitable for putting on a particular bit in a number?

1216


Why is c++ so fast?

1056


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1127


What is format for defining a structure?

1093


What is the difference between containment and delegation?

1343


Why is "using namespace std;" considered bad practice?

1107


What is the difference between an array and a list?

1038


When one must use recursion function? Mention what happens when recursion functions are declared inline?

1205


What is array give example?

1061


When do you call copy constructors?

1161


How to implement is-a and has-a class relationships?

1039


What do you mean by inheritance in c++? Explain its types.

1154


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

2228