Write a function that accepts two numbers,say a and b and
makes bth bit of a to 0.No other bits of a should get
changed.
Answer Posted / ramkumar
int func(int a,int b)
{
int ans;
ans = a - 2^b;
return ans;
}
Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Write a code to generate divisors of an integer?
Can you please explain the scope of static variables?
which type of aspect you want from the student.
How can I find the modification date of a file?
Is that possible to add pointers to each other?
What functions are used for dynamic memory allocation in c language?
How can you tell whether two strings are the same?
What is pass by reference in c?
What is putchar() function?
What is 2 d array in c?
What is wrong with this statement? Myname = 'robin';
Where does the name "C" come from, anyway?