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
What is the use of getchar() function?
What is a function simple definition?
What are the advantages and disadvantages of a heap?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What does *p++ do?
What is c mainly used for?
what is the difference between 123 and 0123 in c?
What is the use of linkage in c language?
Can two or more operators such as and be combined in a single line of program code?
why programs in c are running with out #include
#include
What is union and structure in c?
What is stack in c?
What is file in c preprocessor?
write a program to display all prime numbers