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

cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

637


What is a lvalue

664


Is c object oriented?

542


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1076


What is the best way to comment out a section of code that contains comments?

784






What is data structure in c and its types?

596


Tell me when would you use a pointer to a function?

610


What is define directive?

642


Define VARIABLE?

690


What is a null pointer in c?

597


Where is volatile variable stored?

652


What is the explanation for modular programming?

687


Why is c called a structured programming language?

681


What are the primitive data types in c?

579


Explain how can you check to see whether a symbol is defined?

663