I’m having a difficult time understanding how to get these bits in the right order
my goal:
given the following inputs
char id = 0x02; //in binary => 0010
char somethingElse = 0xF; //in binary => 1111
how can I obtain the following output
char result = ?; //in binary 0010 1111 (id somethingElse)
1 Answer