CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position.
Answer Posted / mohammed sardar
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;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can I get back to the interactive keyboard if stdin is redirected?
Explain threaded binary trees?
What was noalias and what ever happened to it?
In C language, a variable name cannot contain?
What is pre-emptive data structure and explain it with example?
Write a program to check prime number in c programming?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What are types of functions?
Explain 'far' and 'near' pointers in c.
How to compare array with pointer in c?
What are the three constants used in c?
What is return in c programming?
How to find a missed value, if you want to store 100 values in a 99 sized array?
What are pragmas and what are they good for?
Why c is called procedure oriented language?