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

What is typeof in c?

601


What are the salient features of c languages?

619


Why do we use c for the speed of light?

603


Write a program to print all permutations of a given string.

638


Which function in C can be used to append a string to another string?

639






What does & mean in scanf?

599


Difference between Function to pointer and pointer to function

625


What are actual arguments?

641


What is void main ()?

605


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

606


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2197


Write a program to reverse a given number in c language?

616


why we wont use '&' sing in aceesing the string using scanf

1777


What is malloc() function?

630


Explain that why C is procedural?

652