what is the output of
printf("%d",(scanf("%d",10));
Answer Posted / ansh
This code when executes on a Turbo C compiler requires an
input from user and is giving 1 as output if one enters a
numeral value and 0 otherwise.
| Is This Answer Correct ? | 18 Yes | 7 No |
Post New Answer View All Answers
Can we compile a program without main() function?
Who developed c language and when?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What is the full form of getch?
Write programs for String Reversal & Palindrome check
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.
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Do you have any idea how to compare array with pointer in c?
how logic is used
How would you rename a function in C?
What are the standard predefined macros?
How does sizeof know array size?
How many types of arrays are there in c?
What is the use of function overloading in C?
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!+....