i[a] & a[i] related..

what ((char *)b)[(int) a] doing there...
all i can understand from the above is that it is doing something that is producing lyk i[a] from a[i] type..
wats happening der actually n how is it happening???