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

Explain what standard functions are available to manipulate strings?

1 Answers  


What are keywords in c with examples?

1 Answers  


How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers  


Difference between MAC vs. IP Addressing

1 Answers  


Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!

1 Answers  


What are inbuilt functions in c?

1 Answers  


what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 Answers  


What is union and structure in c?

1 Answers  


How many main () function we can have in a project?

1 Answers  


What is gets() function?

1 Answers  


Write code for initializing one dimentional and two dimentional array in a C Program?

5 Answers   Deshaw, Edutech, GMD,


can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????

2 Answers   Cognizant,


Categories