I'm stuck at this program and cannot figure out the logic on how to solve it.
I need to extract 4 bits from an integer(and repeat it until i reach MSB) of a given integer.(my sizeof(int) = 4).and store them in separate character variables
int a = 011 1010 1101 1011 0011 1010(binary)
counting from LSB
How do i go about this problem?
Thanks in advance.