printf("%d",(printf("Hello")); What it returns?
Answer Posted / dally
It will print hello with length of 5.Because return value of
printf is length of that string.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How many parameters should a function have?
writ a program to compare using strcmp VIVA and viva with its output.
What is the size of structure in c?
What is a pragma?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Differentiate between static and dynamic modeling.
What are the 3 types of structures?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What is getche() function?
Explain the use of keyword 'register' with respect to variables.
Which type of language is c?
When was c language developed?
What is oops c?
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 ].
What does the c in ctime mean?