| Question |
CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position. |
|
Question Submitted By :: Superhuman | |
I also faced this Question!! |
Rank |
Answer Posted By | | |
Answer | Sorry above answer ; I did a mistake
t=0;
for(i=n; i>0; i--)
{
t|=(1<<p);
p++;
}
x=x&~t
t=t&y;
x=x|t;  |
| Mohammed Sardar | | | | View All Answers | | |
|