How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Answer Posted / narendra
#define TURN_OFF_BIT_LAST(x) ((~0) >> 1) & x)
in the question it is asking to clear MSB not LSB
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the value of c?
What are two dimensional arrays alternatively called as?
What is difference between function overloading and operator overloading?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
How arrays can be passed to a user defined function
Explain what is a const pointer?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Is c weakly typed?
Difference between Shallow copy and Deep copy?
Explain how do you view the path?
Is c easier than java?
What is an example of structure?
How can I implement a delay, or time a users response, with sub-second resolution?
Can one function call another?
Write a program to know whether the input number is an armstrong number.