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

Answer Posted / sreenivasulu buddhala

It returns Hello5.since the inner printf been called
first,it would return the number of characters printed
successfully.so the result is Hello5

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function prototype?

611


Differentiate between functions getch() and getche().

625


What is the condition that is applied with ?: Operator?

665


How can I sort a linked list?

635


How can I write a function analogous to scanf?

660






What is function prototype in c language?

617


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

656


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1498


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1863


Is that possible to store 32768 in an int data type variable?

692


What does %d do in c?

547


How can I do serial ("comm") port I/O?

689


What is void main () in c?

734


Explain the difference between malloc() and calloc() in c?

580


With the help of using classes, write a program to add two numbers.

619