Math, asked by jaisri1703, 4 months ago

algorithm to add 2 numbers using bitwise operator​

Answers

Answered by umeshnirmal04
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