answersLogoWhite

0


Best Answer

Not possible. Of course you can call a function which does the addition for you, but function-calling is also an operator in C.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you add two numbers with out using operator in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does add operator do?

Add two numbers.


How do you perform multiplication of two numbers without using the multiplication operator?

By using repeated addition. Consider two numbers a and b. If you want to find a*b then you can add the numbers repeatedly in a loop to get the product. Eg:product = a;for( i=1; i


How a program in c that will add 2 numbers without using any operator?

Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call


When using distributive property if you add the numbers is the answer a product or a sum?

If you simply add numbers the answer is the sum of those numbers.


How a program in c that will add 2 numbers without using any plus operator?

int main() { int a=10,b=20; while(a--) b++; printf("%d",b); } or: a -= -b;


How can you add numbers?

Using the additive property (+).


How do you get the sum of two numbers?

The best method is to add the numbers, using arithmetic.


How do you work out a hexagon add-on-agons using negative numbers?

you ADD all the #s


What are the advantage and disadvantage of operator overloadin?

Operator overloading allows c/c++ operators to have user defined meanings on user defined types. For example + operator is used to add to numbers but we can also use it for concatenating a string the only limitation is you cannot change the literal meaning of the operator.


How do you make an average using given numbers?

add them all together and then divide the answer by the number of numbers.


Write a c program to add 2 no without using plus operator?

You can make use of pointers to achieve this.void add( int *a, int *b){(*a) += (*b);}Now if two numbers a and b are given and you need to store the value in variable c, then you would perform:c = a;add(&c,&b);


How do you find the difference using mixed numbers?

first add the whole numbers then do simple fraction subtraction