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
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is the explanation for cyclic nature of data types in c?
How many levels of indirection in pointers can you have in a single declaration?
What is the difference between new and malloc functions?
What are 'near' and 'far' pointers?
Why C language is a procedural language?
What is the difference between array and pointer in c?
What are the rules for the identifier?
what is the different bitween abap and abap-hr?
What are bitwise shift operators in c programming?
what do you mean by enumeration constant?
Can you please explain the difference between strcpy() and memcpy() function?
Can two or more operators such as and be combined in a single line of program code?
How many keywords (reserve words) are in c?
How can I insert or delete a line (or record) in the middle of a file?