Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

C programming example implementing a function to set a specified bit i...

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.12 sec, absolute running time: 0.13 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,34 sec   
edit mode |  history  | discussion
Remember to input the bit number to set and the hex number in the input window!

Bit to be set is 6
Input:  11111111000000001111111100000000
Output: 11111111000000001111111101000000