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 |
Explain what standard functions are available to manipulate strings?
What are keywords in c with examples?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Difference between MAC vs. IP Addressing
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!
What are inbuilt functions in c?
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); } }
What is union and structure in c?
How many main () function we can have in a project?
What is gets() function?
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???????????