what is the return type of printf

Answers were Sorted based on User's Feedback



what is the return type of printf..

Answer / venkat

RETURN TYPE OF THE PRINTF IS NO.OF CHAACTERS SUCCESSFULLY
PRINTED/DISPLAYED

Is This Answer Correct ?    17 Yes 1 No

what is the return type of printf..

Answer / naresh

Return type of the printf is the no of characters printed.

Is This Answer Correct ?    4 Yes 0 No

what is the return type of printf..

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

More C Interview Questions

Is the following code legal? struct a { int x; struct a b; }

4 Answers  


every function has return the value?

1 Answers  


What is #include stdio h and #include conio h?

0 Answers  


write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 Answers  


Why do we use namespace feature?

0 Answers  






Why the below program throughs error during compilation? #include<stdio.h> #include<conio.h> enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }

2 Answers  


What’s the special use of UNIONS?

0 Answers   ADP,


What is the difference between the = symbol and == symbol?

0 Answers  


How can I return multiple values from a function?

6 Answers  


int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?

15 Answers   Mascot,


Tell us something about keyword 'auto'.

0 Answers  


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


Categories