How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST
Answer Posted / asdf
#define TURN_OFF_BIT_LAST(x) ((~0) << 1) & x)
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
When should you use a type cast?
What is function definition in c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is line in c preprocessor?
What are the 32 keywords in c?
When should a type cast not be used?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What are the uses of a pointer?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is the difference between struct and union in C?
What is a example of a variable?
Differentiate between new and malloc(), delete and free() ?
Describe the order of precedence with regards to operators in C.
What is include directive in c?