printf("%d",(printf("Hello")); What it returns?
Answer Posted / amit shrivastava
it will show hello5
hello from the inner printf and 5 value return by the outer
printf function,as printf return int value of the string
and in the example there is 5 wrds so the lenght is 5 which
it return.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What functions are in conio h?
What are the advantages of using new operator as compared to the function malloc ()?
Write the syntax and purpose of a switch statement in C.
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Why enum is used in c?
What is volatile variable in c?
What are c preprocessors?
What is a MAC Address?
Can two or more operators such as and be combined in a single line of program code?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
write a program to create a sparse matrix using dynamic memory allocation.
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
List the difference between a "copy constructor" and a "assignment operator"?
Explain what are run-time errors?
Explain the advantages of using macro in c language?