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

#define TURN_OFF_BIT_LAST(x) ((~0) >> 1) & x)
in the question it is asking to clear MSB not LSB

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1042


What is the translation phases used in c language?

1056


What is the benefit of using const for declaring constants?

987


write a c program in such a way that if we enter the today date the output should be next day's date.

2133


Is c pass by value or reference?

995


What is return in c programming?

916


Can a program have two main functions?

1058


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2681


What is && in c programming?

1111


What is nested structure with example?

1011


What is the purpose of scanf() and printf() functions?

1172


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

1922


Explain what standard functions are available to manipulate strings?

1022


What are the types of data files?

1145


what are the 10 different models of writing an addition program in C language?

1840