While participating in challanges, I encountered statements like 3[ptr]
Wht they actually are, and what we call them, i unable to attach a screenshot, I can understand how this does work, but just want to grab some more details, i have no idea about what we call them so can't google, and mostly, I'm getting answer related to arrays and indexing, but nothing like this.
The code is like
Every Answer will be helpful, thanks in advance!!
Edit: got some answer, as + is commulative these ptr operations are legal, they are nothing but a alternate way to write program, correct me if I'm wrong
Ptr[x] = *(ptr+x) which is equal to *(x+ptr ) = x[ptr]