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

Do you need a main function in c++?

1163


What are formatting flags in ios class?

1386


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

1163


Can you declare an array without a size in c++?

1060


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

2048


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

1095


What do you mean by ‘void’ return type?

1102


What is object in c++ wikipedia?

1061


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

1018


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.

2267


Define pointers?

1096


Why c++ is not a pure oop language?

1088


What is the difference between an array and a list?

1085


What is a constructor in c++ with example?

1180


What are the various situations where a copy constructor is invoked?

1174