printf("%d",(printf("Hello")); What it returns?
Answer Posted / anil kumar
Result is Hello5
Inner printf prints Hello and outer printf gives length of
string i.e. 5
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
I need previous papers of CSC.......plz help out by posting them.......
Give differences between - new and malloc() , delete and free() ?
What is the use of bit field?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What are the types of pointers?
How can I call fortran?
What is the sizeof () operator?
What are structure types in C?
Is c still relevant?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Explain how can I avoid the abort, retry, fail messages?
What is a memory leak? How to avoid it?
What is .obj file in c?
Why malloc is faster than calloc?