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
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is #error and use of it?
What are the 4 types of programming language?
What is const keyword in c?
What are the application of void data type in c?
What is variables in c?
show how link list can be used to repersent the following polynomial i) 5x+2
Write a program to reverse a string.
What are the complete rules for header file searching?
What does the c in ctime mean?
c program for searching a student details among 10 student details
What is pointer to pointer in c language?
What are valid signatures for the Main function?
Explain why can’t constant values be used to define an array’s initial size?
How can I delete a file?