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

printf writes the data to console
sprintf writes the data to an array

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define virtual constructor.

1062


What is scope operator in c++?

1045


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

996


How do you declare a set in c++?

925


Is it possible to provide special behavior for one instance of a template but not for other instances?

1069


What are the uses of static class data?

1136


How do you compile the source code with your compiler?

1017


What is the size of integer variable?

1020


What do you understand by pure virtual function? Write about its use?

966


Mention the ways in which parameterized can be invoked. Give an example of each.

1016


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

1015


What is Destructor in C++?

1147


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

1061


What are the advantages of using friend classes?

1096


What is virtual destructor ans explain its use?

1086