algorithm to add 2 numbers using bitwise operator
Answers
Answered by
1
Answer:
C Program to Perform Addition Operation Using Bitwise Operators
#include<stdio.h>
int bitwiseadd(int x, int y)
while (y != 0)
int carry = x & y;
x = x ^ y;
y = carry << 1
Similar questions
Science,
2 months ago
English,
4 months ago
Math,
4 months ago
Math,
10 months ago
Social Sciences,
10 months ago