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

Why string is used in c?

953


What is a program flowchart?

1123


How can I manipulate individual bits?

983


explain what are actual arguments?

1029


How can a number be converted to a string?

1238


What is the size of structure pointer in c?

1016


Explain function?

1033


In C programming, what command or code can be used to determine if a number of odd or even?

989


When should you use a type cast?

1055


what is the function of pragma directive in c?

1060


write a c program for swapping two strings using pointer

2566


Can main () be called recursively?

1060


What is string in c language?

1072


Can you tell me how to check whether a linked list is circular?

1322


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1833