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 calloc()?
Why is c platform dependent?
What is a char in c?
about c language
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Can we access the array using a pointer in c language?
What is the use of structure padding in c?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Sir i need notes for structure,functions,pointers in c language can you help me please
Is array a primitive data type in c?
What do you mean by a local block?
How can I read a binary data file properly?
What is c preprocessor mean?
What is modeling?
What is a union?