How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

Answer Posted / mohit jain

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

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The difference between printf and fprintf is ?

724


What is structure and union in c?

613


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7426


What is wrong with this code?

706


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

14988






What are multidimensional arrays?

662


Does c have enums?

610


What is c variable?

565


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

1795


What is the role of this pointer?

561


What is the difference between NULL and NUL?

739


What is scope of variable in c?

577


what are # pragma staments?

1636


What is define directive?

652


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3064