CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position.
Answer Posted / mohammed sardar
t=0;
for(i=n; i>0; i--)
{
t|=(1<<p);
p++;
}
t=t&y;
x=x&t;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between āgā and āgā in C?
How do I determine whether a character is numeric, alphabetic, and so on?
How to explain the final year project as a fresher please answer with sample project
What is optimization in c?
What is static memory allocation? Explain
What is non linear data structure in c?
What is the difference between pure virtual function and virtual function?
What is an lvalue?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Tell me about low level programming languages.
find out largest elemant of diagonalmatrix
How does placing some code lines between the comment symbol help in debugging the code?
Explain what are run-time errors?
What is the general form of a C program?
What are external variables in c?