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

What is structure of c program?

594


Explain what will the preprocessor do for a program?

591


What is the use of pointers in C?

610


What is the difference between void main and main in c?

613


What are the primitive data types in c?

563






What is the purpose of the statement: strcat (S2, S1)?

636


what will be maximum number of comparisons when number of elements are given?

1402


Explain about the constants which help in debugging?

841


What does the error 'Null Pointer Assignment' mean and what causes this error?

732


What is infinite loop?

619


What are the basic data types associated with c?

805


What is modeling?

634


What are the ways to a null pointer can use in c programming language?

582


How to declare pointer variables?

677


which type of aspect you want from the student.

1695