write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / reddy
(a+b)=square root([(4ab)+[(a-b)(a-b)]])
| Is This Answer Correct ? | 8 Yes | 31 No |
Post New Answer View All Answers
What is the value of uninitialized variable in c?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is the difference between variable declaration and variable definition in c?
Explain what is a program flowchart and explain how does it help in writing a program?
Why c is called a mid level programming language?
What is the purpose of main( ) in c language?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
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.
Is c weakly typed?
When should we use pointers in a c program?
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!+....
How many levels of indirection in pointers can you have in a single declaration?
Can a pointer be null?
How do you define a string?
What is the return type of sizeof?