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

Answer Posted / vikas pawar

printf("%d",(printf("Hello"));


Result is Hello5
Inner printf prints Hello and outer printf gives length of
string i.e. 5

Is This Answer Correct ?    69 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which header file is essential for using strcmp function?

1050


What is mean by data types in c?

650


What is the difference between array and pointer in c?

691


Why do we use int main?

713


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1844






What is the difference between array and structure in c?

664


Explain union. What are its advantages?

704


What is array of structure in c?

690


Why clrscr is used in c?

677


What is extern storage class in c?

612


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

720


What happens if header file is included twice?

769


What do you understand by normalization of pointers?

723


Can I initialize unions?

701


What is bubble sort in c?

731