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
What does a function declared as pascal do differently?
What kind of structure is a house?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
how to make a scientific calculater ?
Why main is not a keyword in c?
What is the difference between procedural and declarative language?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is preprocessor with example?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Explain how do you generate random numbers in c?
What are the advantages and disadvantages of c language?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
Define Array of pointers.
What does typeof return in c?