How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

Answer Posted / mohit jain

#define TURN_OFF_BIT_LAST(x) ((x) & ~1)

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is main is user defined function?

597


What are nested functions in c?

566


What are multidimensional arrays?

656


pierrot's divisor program using c or c++ code

1732


Write a function that will take in a phone number and output all possible alphabetical combinations

605






Why doesnt that code work?

602


Can you explain the four storage classes in C?

645


Difference between MAC vs. IP Addressing

643


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2269


What is c preprocessor mean?

795


What is #include stdio h?

687


What does the function toupper() do?

657


Why should I prototype a function?

642


What happens if a header file is included twice?

600


Why void main is used in c?

560