For the sum of two numbers, we use the addition (+) operator. In these tricky C programs, we will write a C program to add two numbers without using the addition operator.
#include<stdio.h>
#include<stdlib.h>
int main()
{
int x, y;
printf("Enter two number: ");
scanf("%d %d",&x,&y);
printf("%d\n", x-(-y));
printf("%d\n", -(-x-y));
printf("%d\n", abs(-x-y));
printf("%d", x-(~y)-1);
return 0;
}