printf("%d",(printf("Hello")); What it returns?
Answer Posted / anupam sen
printf function returns the number of character it prints
so output:Hello5
Is This Answer Correct ? | 5 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!+....
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
If fflush wont work, what can I use to flush input?
Explain how can I read and write comma-delimited text?
What are header files in c?
When the macros gets expanded?
What is main () in c language?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Explain main function in c?
Explain the difference between malloc() and calloc() in c?
What is the difference between single charater constant and string constant?
What is typedef example?
What is the general form of #line preprocessor?
What is null pointer constant?
Differentiate between a for loop and a while loop? What are it uses?