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 |
What is the condition that is applied with ?: Operator?
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
which is faster execution: loops or recursion?
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
what is the difference between exit() and _exit() functions?
whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.
What is the usage of the pointer in c?
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?
Explain c preprocessor?
write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?
What is a null pointer in c?