How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Answer Posted / asdf
#define TURN_OFF_BIT_LAST(x) ((~0) << 1) & x)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What is data structure in c language?
Write a program in c to replace any vowel in a string with z?
What is variable initialization and why is it important?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is the use of f in c?
What functions are in conio h?
What is s or c?
Can the size of an array be declared at runtime?
Why can’t constant values be used to define an array’s initial size?
Is anything faster than c?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
How to declare pointer variables?
How can you increase the size of a statically allocated array?
How to write a multi-statement macro?