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 |
Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?
#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
what's the return value of malloc()
Explain how can a program be made to print the name of a source file where an error occurs?
What are the two forms of #include directive?
write a 'c' program to sum the number of integer values
why Language C is plateform dependent
What are the various topologies? Which one is the most secure?
how to find out the union of two character arrays?