printf("%d",(printf("Hello")); What it returns?
Answer Posted / dinesh gupta
error
bcos one bracket is missing
if make correction
then out put is ........ hello5
reason..inner statement print hello and as wellas returns the lenth of the string to outer print statement,which give 5
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is pointers in c with example?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Is there a way to jump out of a function or functions?
What are the 5 types of organizational structures?
What is enumerated data type in c?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
What are global variables and how do you declare them?
Compare and contrast compilers from interpreters.
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
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 is the difference between the local variable and global variable in c?
What are integer variable, floating-point variable and character variable?
What is structure of c program?