Embedded System Programming
a) What prints the following piece of code?
x = x & ~(1<<b);
printf("The resulting x equals to %x \n",x);
b) Using only addition and shifting, execute multiplication 2.75 x a ,
The variable a is of a type unsigned char. Place result in variable unsigned char c.