printf("%d",(printf("Hello")); What it returns?
Answer Posted / s.veena bhargavi
prinf execution starts from right to left so it will prints
hello &here printf is taken as a function, it returns int
value as len of srting is 5.it does'nt count /0
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
How can you determine the maximum value that a numeric variable can hold?
How can I remove the leading spaces from a string?
What is a void * in c?
Write the control statements in C language
What is c variable?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
What does sizeof function do?
What is an example of structure?
Can the “if” function be used in comparing strings?
How do you generate random numbers in C?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Explain the advantages of using macro in c language?
What are the general description for loop statement and available loop types in c?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.