1.

Indexing of bitset variables starts from ___________(a) leftmost bit(b) rightmost bit(c) same as in an array(d) front

Answer» Right option is (b) rightmost bit

The explanation: The indexing of bitset variable starts from rightmost bit i.e. if you have b = 1100 as your bitset then b[0] = 0, not 1.


Discussion

No Comment Found

Related InterviewSolutions