mercredi 6 décembre 2017

Reason for using bit manipulation in array size

I have recently got a basic idea of bit manipulation , and i was going through a problem where I found this C++ statement :

int popcount[1<<16];

I do have a basic idea of left/right Bit shift , but i would like to know why is it used in array size.

Aucun commentaire:

Enregistrer un commentaire