printf("%d",(printf("Hello")); What it returns?
Answer Posted / dally
It will print hello with length of 5.Because return value of
printf is length of that string.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What is string constants?
What is an array in c?
What is the function of this pointer?
What is structure in c explain with example?
What does sizeof function do?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Explain what are global variables and explain how do you declare them?
List some applications of c programming language?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Is calloc better than malloc?
How can I find the modification date of a file?
int i=10; printf("%d %d %d", i, i=20, i);
Why does not c have an exponentiation operator?
What are local static variables?