How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Answer Posted / dorian
#define TURN_OFF_BIT_LAST(x) ((x >> 1) << 1)
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Write a program to find the biggest number of three numbers in c?
What are structures and unions? State differencves between them.
How can I open files mentioned on the command line, and parse option flags?
What are header files and explain what are its uses in c programming?
What is a null string in c?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
How to declare pointer variables?
How can I write a function analogous to scanf?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Explain the Difference between the New and Malloc keyword.
What is the use of the function in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What is difference between main and void main?
what are bit fields? What is the use of bit fields in a structure declaration?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)