Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write a program to find the biggest number of three numbers in c?

1055


What are structures and unions? State differencves between them.

1191


How can I open files mentioned on the command line, and parse option flags?

1078


What are header files and explain what are its uses in c programming?

1141


What is a null string in c?

1053


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

1031


How to declare pointer variables?

1255


How can I write a function analogous to scanf?

1199


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.

2066


Explain the Difference between the New and Malloc keyword.

1153


What is the use of the function in c?

1030


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1333


What is difference between main and void main?

1226


what are bit fields? What is the use of bit fields in a structure declaration?

2143


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)

1166