what is the return type of printf

Answer Posted / sateesh

The return type of Printf in C is Integer i.e the number of
characters printed.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of c preprocessor?

717


Why is struct padding needed?

639


What does the format %10.2 mean when included in a printf statement?

1095


What is a macro?

661


Do you have any idea how to compare array with pointer in c?

611






What is register variable in c language?

609


Can two or more operators such as and be combined in a single line of program code?

813


Do variables need to be initialized?

625


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

570


What the advantages of using Unions?

677


How will you write a code for accessing the length of an array without assigning it to another variable?

622


Why is sprintf unsafe?

623


Why c is procedure oriented?

578


What is dangling pointer in c?

629


What should malloc() do?

653