printf("%d",(printf("Hello")); What it returns?
Answers were Sorted based on User's Feedback
Answer / srinivasa. p
5
Printf() return number character print on STD::out
Is This Answer Correct ? | 13 Yes | 16 No |
Answer / 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 |
Answer / anonymous
an Error will occur....bcos the function call is missing in
main().
Is This Answer Correct ? | 0 Yes | 4 No |
Answer / vignesh1988i
the printf fun() always writterns the numbeer of characters
...... so 5 is o/p
Is This Answer Correct ? | 0 Yes | 6 No |
Answer / pavithra
error will occur because within a printf statement another
printf statement is present
Is This Answer Correct ? | 3 Yes | 15 No |
Answer / srinivasa. p
1
Printf() return number character print on STD::out
Is This Answer Correct ? | 4 Yes | 23 No |
What are the functions to open and close the file in c language?
What is difference between structure and union?
can anyone please tell me wat is backlogs... i was looking for the job openings where i read this.. eligibility criteria minimum 70% in degree without backlogs. is that arrear.. if so is it standing arrear or history of arrears... please help me...
11 Answers CTS, Indian Navy, L&T, Microsoft, SSB, TCE, TCS,
What the advantages of using Unions?
What is the purpose of ftell?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
Why enum is used in c?
Write a program using bitwise operators to invert even bits of a given number.
What is the difference between array and pointer?
Find occurence of a character in a sting.
What is the difference between null pointer and wild pointer?
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,