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

what type of questions arrive in interview over c programming?

1559


How can I write functions that take a variable number of arguments?

626


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1663


What is variable initialization and why is it important?

621


Whats s or c mean?

593






how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1498


What are the types of data files?

729


What is || operator and how does it function in a program?

631


What is data structure in c programming?

574


write a program to find the given number is prime or not

3847


Explain data types & how many data types supported by c?

586


What is the difference between call by value and call by reference in c?

621


Do you know the use of fflush() function?

603


What are preprocessor directives in c?

638


What are the properties of union in c?

590