I am learning C/C++ programming & have encountered the usage of \'Bit arrays\' or \'Bit Vectors\'. Am not able to understand their purpose? here are my doubts -
That is used for bit flags storage, as well as for parsing different binary protocols fields, where 1 byte is divided into a number of bit-fields. This is widely used, in protocols like TCP/IP, up to ASN.1 encodings, OpenPGP packets, and so on.