C Program To Add two number without using of Plus Operator:

This program is add two integers without using plus(+) operator .
In which we try to add two number without Plus operator.
We using tild (~) Symbol to add two number.



ALGORITHM:-

step 1 : Start
step 2 : Enter any two integer number
step 3 : Subtract one number with ~(tild) symbol subtract also 1.
step 4 : Display the result
step 5 : Stop

PROGRAM CODE:-

#include<stdio.h>
#include<conio.h>

void main()
{
   
    int a,b;
    int sum;
    printf("Enter any two integers: ");
    scanf("%d%d", &a, &b);

    sum = a - ~b -1;

    printf("Sum of two integers: %d",sum);
    getch();
}

OUTPUT:-

Enter any two integers: 4
9

Sum of two integes: 13

C Program Add two number without using plus (+) operator
how to add two number without using addition operator
add two number using tild(~) Symbol