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
Explain about the constants which help in debugging?
how to build a exercise findig min number of e heap with list imlemented?
What is memory leak in c?
How many data structures are there in c?
Is printf a keyword?
What is c system32 taskhostw exe?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
Difference between MAC vs. IP Addressing
what is the structure pointer?
Explain what does the format %10.2 mean when included in a printf statement?
Calculate 1*2*3*____*n using recursive function??
Can you please explain the difference between exit() and _exit() function?
What is const keyword in c?
What is typedef?