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 is the Difference between "printf" and "sprintf"?

Answer Posted / nelson

The only difference between sprintf() and printf() is that
sprintf() writes data into a character array, while printf
() writes data to standard output device.

Is This Answer Correct ?    118 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of classes are there in c++?

1039


What is wrapper class in c++?

1112


What is auto type c++?

1122


Write some differences between an external iterator and an internal iterator?

1019


Are iterators pointers?

1150


What is difference between class and function?

1085


When should you use global variables?

1212


How does the copy constructor differ from the assignment operator (=)?

1143


What is exception handling? Does c++ support exception handling?

1032


What is the precedence when there is a global variable and a local variable in the program with the same name?

1125


True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

2380


What is c++ virtual inheritance?

1132


Define token in c++.

1144


What is the use of default constructor?

1093


Can user-defined object be declared as static data member of another class?

1021