Explain working of printf.

Showing Answers 1 - 12 of 12 Answers

gaurav mody

  • Dec 30th, 2006
 

printf()

this is the most basic function in c language

it is used to interact with the user

take data from the user

print data in any format specifier

  Was this answer useful?  Yes

dasam

  • Apr 12th, 2007
 

The return type of the printf() function is 'int'.
(lot of confusion surrounding the return type of printf -- correct answer is 'int') 

  Was this answer useful?  Yes

unrealvicky

  • Aug 17th, 2010
 

Printf is a Variadic function. Variadic functions are functions which may take a variable number of arguments and are declared with an ellipsis in place of the last parameter. int printf(char *, ...); Uses Var_args to know the variables in the ...In C these are defined in stdarg.h Refer to this link http://en.wikipedia.org/wiki/Stdarg.h

  Was this answer useful?  Yes

praveen

  • Jan 1st, 2013
 

printf means it prints the user statements

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions