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.
My logic was that it act adds 3 (from 0, 1, 2)to the char array pointer, and then gets item at that pointer
Anybody else notice that this fraud has never posted his LinkedIn before? Wonder why that is. Super weird.
@Optimus6128