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
to find the closest pair
Do pointers need to be initialized?
Can you explain the four storage classes in C?
What is the process of writing the null pointer?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What is #include conio h?
Why we write conio h in c?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
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 size of empty structure in c?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What is getche() function?
How can I read and write comma-delimited text?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
How are 16- and 32-bit numbers stored?