How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Answer Posted / manoj
#define TURN_OFF_BIT_LAST(x) ((x) & 1) ? ((x) &= ((~0) <<
1)):(x)=(x)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is multithreading possible in c?
What is 1f in c?
What is f'n in math?
What is the purpose of main() function?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Can you please explain the difference between strcpy() and memcpy() function?
Explain the properties of union. What is the size of a union variable
Explain what is the difference between functions getch() and getche()?
What is hashing in c language?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What are keywords in c with examples?
What is 1d array in c?
Write a code to generate a series where the next element is the sum of last k terms.
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Is c pass by value or reference?