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

Answer Posted / aju.b

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

Result is Hello5

Is This Answer Correct ?    175 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is called a mid level programming language?

601


What is file in c preprocessor?

646


What do you mean by command line argument?

636


Explain how can you be sure that a program follows the ansi c standard?

854


Explain what does the function toupper() do?

629






What does != Mean in c?

582


Why doesnt that code work?

597


What are formal parameters?

652


Explain do array subscripts always start with zero?

751


What is the difference between null pointer and wild pointer?

630


What is identifiers in c with examples?

672


What does do in c?

601


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

636


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1503


What are enums in c?

654