Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

set the nth bit

number |=  (1 << n);
 
PREVIOUS NEXT
Tagged: #set #nth #bit
ADD COMMENT
Topic
Name
5+6 =