Write a function that accepts two numbers,say a and b and
makes bth bit of a to 0.No other bits of a should get
changed.
Answer Posted / sandeep ambekar
Macro to Set a particular Bit..
#define SetBit(x,y) x | 0x1<<y
Macro to Clear a particular Bit..
#define ClearBit(x,y) x & ~(0x1<<y)
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is printf () in c?
define string ?
will u please send me the placement papers to my mail???????????????????
write a program to concatenation the string using switch case?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
How can I access an I o board directly?
What are c header files?
What is d scanf?
What is the meaning of c in c language?
Is main a keyword in c?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
How can variables be characterized?
List the difference between a "copy constructor" and a "assignment operator"?
What are the 4 types of programming language?