Question: I need a help to write this with c program. Description Complete all of the unfinished functions and rewrite the ones started for you so

Description Complete all of the unfinished functions and rewrite the ones started for you so that each computes the correct result using only the "bitwise" operators (&, I. ^,>,-) along with !, , ==, !=, && and II. You cannot use arithmetic (+, ++, - - .%, I, ...) operators, so that statements like for (i = 0; i unsigned int add(unsigned int, unsigned int); unsigned int sub(unsigned int, unsigned int); unsigned int mul(unsigned int, unsigned int); unsigned int lt(unsigned int, unsigned int); unsigned int gt(unsigned int, unsigned int); unsigned int getByte(unsigned int, unsigned int); int main(int argc, char **arg) { unsigned int i, j; printf("Enter an integer "); scanf("%u", &i); printf(" Enter another integer "); scanf("%u", &j); printf(" i + j = %u ", add(i,j)); printf(" i - j = %u ", sub(i,1)); printf(" i * j = %u ", mul(i,j)); printf("i>j %s ", (gt(i,j) ? "TRUE" : "FALSE")); printf("i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
