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

Answer Posted / kuldeep vishwakarma

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

ans: Hello5


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

ans: Hello5

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

ans: function call missing )
(because end parenthesis is not close)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null always defined as 0(zero)?

701


What is the difference between functions abs() and fabs()?

755


what is use of malloc and calloc?

1485


Differentiate between static and dynamic modeling.

717


Why is it important to memset a variable, immediately after allocating memory to it ?

1648






How to set file pointer to beginning c?

773


What is printf () in c?

669


What is the translation phases used in c language?

725


What are the loops in c?

684


What is the right type to use for boolean values in c? Is there a standard type?

668


What is the difference between procedural and declarative language?

771


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

700


What is gets() function?

762


Write a program to print ASCII code for a given digit.

774


What are the two forms of #include directive?

737