tl00408. cpp\r^include <stdio. h>\rvoid main()\r{ unsigned extracteOddBits(unsigned x ) ;\rin t n=123;\rn=extracteO ddBits(n);\rprintf("% d\n", n ) ;\r)\runsigned extracteOddBits(unsigned x)\r{ in t i, j;\runsigned z, a, q;\rz=0;\rf o r ( i= l; i<=15; i+=2)\r{q=l;\rfo r(j= l;j< = (1 6 -i-2 )/2 ;j+ + )\rq=q*2;\ra=x] (1 6 -i);\ra=a^15;\ra=a>>15;\rz=z+a*q;\rretu rn z;.\r//xtl00409.cpp\rWinclude <stdio. h>\rvoid main()\r{ unsigned unmutexCode (unsigned value);\runsigned a;\rprintf("please a number of HEX:");\rs c a n f & a ) ;\rprintf(^Bcode(a)=%x ", unmutexCode (a));\r)\runsigned unmutexCode (unsigned value)\r{ unsigned i;\ri=value&0x8000;\rif(i==0x8000)\ri=Yvalue+l;\relse\ri=value;\rreturn i;