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 / ankita

\r is known as carriage return
e.g printf("ABC\rDE");
ABC.
then becoz of \r cursor comes back to the 1st char i.e here
A after that DE is there then finally it print
DEC with cursor on C.
\b is known as back literal
e.g. printf("ABC\bDE");
then ABC then finally ABDE will get printed.

Is This Answer Correct ?    63 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array in c++ example?

1126


write a porgram in c++ that reads an integer and print the biggest digit in the number

2259


What is a c++ vector?

1065


What is do..while loops structure?

1164


Explain terminate() function?

1064


Do vectors start at 0 c++?

1036


How do I download c++?

1011


What does int * mean in c++?

1239


How do you traverse a btree in backward in-order?

1043


What is the benefit of encapsulation?

1082


Why should you learn c++?

1031


Define anonymous class.

1087


how to access grid view row?

2249


What are the advantages of c++? Explain

1067


Can you please explain the difference between static and dynamic binding of functions?

1042