- 24bits corresponds to different parameters, with each parameter taking varying number of bits (taking up value either 1 or 0).
- Need to create a byte array (or unsigned char array) so that all these 24bits will fit in and there will be no memory loss (which will happen in case of taking int data type)
- Require a byte pointer so that upon incrementing the pointer it would seek the location 0,8,16 in the byte array formed.
I couldnt get a proper method to do it as I couldnt able to access in case of byte array (say from 0 to 23 bits). Kindly help me with this in C program
**Example:**
>**Available-**
>a=0; b=1; c=1; d=0;... till 23 parameters
>**Required-**
>byte arr[3] containing above 23 parameters
>byte *p
>p=arr to access every 8 bit