Set, Clear and Toggle a given bit of a number in C - GeeksforGeeks thumbnail
Set, Clear and Toggle a given bit of a number in C - GeeksforGeeks
www.geeksforgeeks.org
steps to set, clear and toggle Kth bit of N: task is to set, clear and toggle K-th bit of this number N. K-th bit is 0 then set it to 1
1 Users
0 Comments
28 Highlights
28 Notes

Top Highlights

  • steps to set, clear and toggle Kth bit of N:
  • task is to set, clear and toggle
  • K-th bit of this number N.
  • K-th bit is 0
  • then set it to 1

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.