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

Answer Posted / s.veena bhargavi

prinf execution starts from right to left so it will prints
hello &here printf is taken as a function, it returns int
value as len of srting is 5.it does'nt count /0

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the Difference between the New and Malloc keyword.

652


Explain what are preprocessor directives?

597


what is the different bitween abap and abap-hr?

1714


Difference between linking and loading?

665


Why static variable is used in c?

530






Tell us bitwise shift operators?

570


Why we not create function inside function.

1720


What is a nested formula?

575


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

581


What is unsigned int in c?

533


Is null valid for pointers to functions?

587


Why is it usually a bad idea to use gets()? Suggest a workaround.

862


How to find a missed value, if you want to store 100 values in a 99 sized array?

775


How macro execution is faster than function ?

637


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2307