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

printf() is used to send the output to the output consoled
device i.e,monitor

and the sprintf() is send the output to the specified file
that will be given in the parameters

Is This Answer Correct ?    8 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about near, far and huge pointer?

1136


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

993


What is a node class in c++?

1067


Explain the difference between abstract class and interface in c++?

980


What would happen on forgetting [], while deallocating an array through new?

1087


What is virtual methods?

1119


Why is c++ still used?

1083


What are the advantages of using friend classes?

1144


Difference between declaration and definition of a variable.

1135


Do the parentheses after the type name make a difference with new?

1081


What do you mean by vtable and vptr in c++?

1041


Is there structure in c++?

1024


Can a constructor return a value?

1242


Does c++ have a hash table?

994


What are the main features of c++?

1002