Add Two Numbers without Arithmetic Operator C Program

By | October 18, 2016

Learn How To Add Two Numbers without using Plus (+) Operator in C Programming Language. We generally use plus operator (+) to find the sum of two numbers. Here, we shall use the postfix operator () to find the sum of the numbers. Alternatively, two numbers can be added using Bitwise Operators.

The first code to find the sum of two numbers without using arithmetic operator makes use of the postfix or decrement () operator. If you want to add two integers without arithmetic operators, then you will have to use the bitwise operators which is demonstrated in the second program.

C Program To Add Two Numbers without using Plus Operator

C Program To Add Two Numbers using Bitwise Operators


C Program To Add Two Numbers without using / Operator and using Bitwise Operators

If you have any compilation error or doubts in this C program to Add Two Integers using Bitwise Operators, let us know about it in the comment section below.

C Program To Divide Two Numbers without Division Operator
C Program To Subtract Two Numbers without Subtraction Operator
C Program To Multiply Two Numbers without Multiplication Operator
C Program To Find Addition of Two Numbers using Pointers
C Program To Subtract Two Numbers using Pointers

Let's Discuss