Exercise 2-6. Write a function setbits(x,p,n,y) that return x with the n bits that begin at position p set to the rightmost n bits of y, leaving the other bits unchanged.
Exercise 2-6. Write a function setbits(x,p,n,y) that return x with the n bits that begin at position p set to the rightmost n bits of y, leaving the other bits unchanged.写一个函数 setbits(x,p,n,y) ,用从y最右边...