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
How can you find out how much memory is available?
What are reserved words?
How can you determine the size of an allocated portion of memory?
What is return in c programming?
What are the keywords in c?
What is the difference between break and continue?
define string ?
why wipro wase
How does #define work?
Do you know the difference between exit() and _exit() function in c?
c program for searching a student details among 10 student details
how to write optimum code to divide a 50 digit number with a 25 digit number??
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Why do we use stdio h and conio h?
How was c created?