set the nth bit
snippet in c

set the nth bit

user9485

number |=  (1 << n);