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

printf is used to write the data in its format.
sprintf is used to write formatted data to string.

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is general form of pure virtual function? Explain?

1000


What is a down cast?

1112


How do you flush std cout?

1100


Explain the static member function.

1188


What are associate containers?

1028


What are the two types of comments, and how do they differ?

1138


Is c better than c++?

1072


Difference between declaration and definition of a variable.

1160


Explain the volatile and mutable keywords.

1070


Can I learn c++ in a week?

1074


what do you mean by volatile variable?

1056


Write a program to find the reverse Fibonacci series starting from N.

1274


How can a struct in c++ differs from a struct in c?

1046


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

2202


Write a code/algo to find the frequency of each element in an array?

1122