printf("%d",(printf("Hello")); What it returns?

Answer Posted / dinesh gupta

error
bcos one bracket is missing
if make correction
then out put is ........ hello5
reason..inner statement print hello and as wellas returns the lenth of the string to outer print statement,which give 5

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Once I have used freopen, how can I get the original stdout (or stdin) back?

603


What is pointers in c with example?

548


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1487


Is there a way to jump out of a function or functions?

608


What are the 5 types of organizational structures?

530






What is enumerated data type in c?

599


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

617


What are global variables and how do you declare them?

594


Compare and contrast compilers from interpreters.

653


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1709


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3207


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

576


What is the difference between the local variable and global variable in c?

503


What are integer variable, floating-point variable and character variable?

575


What is structure of c program?

577