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
Wt are the Buses in C Language
What are the storage classes in C?
Describe dynamic data structure in c programming language?
what is the difference between 123 and 0123 in c?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What is the difference between c and python?
What is c standard library?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What is the purpose of & in scanf?
How macro execution is faster than function ?
What is a protocol in c?
What are the similarities between c and c++?
What is volatile variable how do you declare it?