@Optimus6128

Funny that in C, a[b] is same to *(a+b) and that's obvious, yet that also means you could write something crazy like 2[a] instead of a[2] and that will work.

@v-7815

For anyone wondering.  string literals in CPP are considered char arrays. Which is why the indexing worked. 

std::cout <<  "123"[2]; 

is also valid and easier to understand.

@danieljeremiah9452

My logic was that it act adds 3  (from  0, 1, 2)to the char array pointer, and then gets item at that pointer

@nurideenkalmey2543

Anybody else notice that this fraud has never posted his LinkedIn before? Wonder why that is. Super weird.