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
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
How can you be sure that a program follows the ANSI C standard?
What is the difference between ++a and a++?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What are the 4 types of programming language?
What are the benefits of c language?
pierrot's divisor program using c or c++ code
How do I create a directory? How do I remove a directory (and its contents)?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is the process of writing the null pointer?
Can you please explain the difference between syntax vs logical error?
What are the header files used in c language?
What is ponter?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
When is a void pointer used?