I have an unsigned char array of size 256:
unsigned char test[256];
I want to reduce the size of the array such that there is only one bit consumed by each index, for example index 0 to 7 should consume 1 byte so i only need 256/8 bytes. Is it possible to do that in C?