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 / asdf

#define TURN_OFF_BIT_LAST(x) ((~0) << 1) & x)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

2124


What is data structure in c language?

1121


Write a program in c to replace any vowel in a string with z?

1139


What is variable initialization and why is it important?

1276


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

1148


What is the use of f in c?

989


What functions are in conio h?

1220


What is s or c?

1073


Can the size of an array be declared at runtime?

1101


Why can’t constant values be used to define an array’s initial size?

1395


Is anything faster than c?

1021


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.

2766


How to declare pointer variables?

1255


How can you increase the size of a statically allocated array?

1092


How to write a multi-statement macro?

1057