I have got an int array of "int word[10000]". i need a way such that 4 consecutive numbers corresponds to 1 element of an array. (byte addressing)
for example:
0, 1 , 2 , 3 refers to word[0]
4, 5 , 6 , 7 refers to word[1]
8 , 9 , 10 , 11 refers to word[2]
.....
396, 397, 398, 399 refers to word[100]
without using hash map or any other data structure.
Thanks