bit operations in c code