what is the return type of printf
Answers were Sorted based on User's Feedback
Answer / venkat
RETURN TYPE OF THE PRINTF IS NO.OF CHAACTERS SUCCESSFULLY
PRINTED/DISPLAYED
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / naresh
Return type of the printf is the no of characters printed.
Is This Answer Correct ? | 4 Yes | 0 No |
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 |
Is the following code legal? struct a { int x; struct a b; }
every function has return the value?
What is #include stdio h and #include conio h?
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
Why do we use namespace feature?
Why the below program throughs error during compilation? #include<stdio.h> #include<conio.h> enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }
What’s the special use of UNIONS?
What is the difference between the = symbol and == symbol?
How can I return multiple values from a function?
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
Tell us something about keyword 'auto'.
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }