1. main()
{
printf("%d",printf("HelloSoft"));
} Output?
Answers were Sorted based on User's Feedback
Answer / sandy
Upon a successful return, the printf() function returns the
number of characters printed.
Answer: HelloSoft9
| Is This Answer Correct ? | 39 Yes | 2 No |
Answer / unknown
as %d is used for int and "hellosoft" is char , error will
prevail.
| Is This Answer Correct ? | 2 Yes | 8 No |
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
how to generate sparse matrix in c
why we need function pointers?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
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!+....
we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????
write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables
What is sizeof c?
what are the different storage classes in c?
Explain how can I convert a number to a string?