Pergunta de entrevista da empresa Check Point Software Technologies

1. massive array of bits. how many '1' does the array contain? 2. Given 2gb array. write 2 functions. a. responsible to allocate memory. b. responsible to free memory. assume that only int * may be allocated. no other memory may be used.