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

Answers were Sorted based on User's Feedback



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

Answer / praneeth

It doesn't because in printf access specifier is Integer
but to display Hello we should use %s.

Is This Answer Correct ?    1 Yes 22 No

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

Answer / rajesh

0

Is This Answer Correct ?    9 Yes 62 No

Post New Answer

More C Interview Questions

Write the syntax and purpose of a switch statement in C.

0 Answers   Adobe,


what is the difference between strcpy() and memcpy() function?

2 Answers  


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

0 Answers   Wilco,


out put of printf(ā€œ%dā€,printf(ram));

5 Answers  


"I LOVE MY COUNTRY" write a c program to get "COUNTRY MY LOVE I" as the output. Use any other programming language. It is not mandatory to use C.

11 Answers   ABC Infotech, ADP, College School Exams Tests, Kovair,






Explain how does free() know explain how much memory to release?

0 Answers  


Write a program that receives as input a number omaadel-n-print, four digits.

0 Answers  


Are there constructors in c?

0 Answers  


Why do we need a structure?

0 Answers  


Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,


Is there anything like an ifdef for typedefs?

0 Answers  


how to find that no is int or float?

5 Answers  


Categories