How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Answer Posted / manoj
#define TURN_OFF_BIT_LAST(x) ((x) & 1) ? ((x) &= ((~0) <<
1)):(x)=(x)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
How can I remove the leading spaces from a string?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is the use of ?
Why do we need functions in c?
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is the difference between int main and void main?
what do you mean by inline function in C?
What does p mean in physics?
What is action and transformation in spark?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is memory leak in c?
Explain what is page thrashing?
Differentiate between full, complete & perfect binary trees.
Why is c so popular?