write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / raja
void main()
{
int a=20,b=40;
for( ;b<=1;b--)
a++;
printf("%d",a);
}
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What are examples of structures?
write a proram to reverse the string using switch case?
Why is c known as a mother language?
Write a program to print ASCII code for a given digit.
What is a function simple definition?
What are variables and it what way is it different from constants?
Explain what does the format %10.2 mean when included in a printf statement?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Write a code to generate a series where the next element is the sum of last k terms.
What are the application of void data type in c?
Are the variables argc and argv are always local to main?
What is wrong with this code?
What is a good way to implement complex numbers in c?