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


Please Help Members By Posting Answers For Below Questions

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!+....

23152


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)

1901


If fflush wont work, what can I use to flush input?

870


Explain how can I read and write comma-delimited text?

957


What are header files in c?

843


When the macros gets expanded?

1123


What is main () in c language?

861


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

1487


Explain main function in c?

881


Explain the difference between malloc() and calloc() in c?

833


What is the difference between single charater constant and string constant?

878


What is typedef example?

872


What is the general form of #line preprocessor?

793


What is null pointer constant?

818


Differentiate between a for loop and a while loop? What are it uses?

946