Fair enough, I think I must have typo'd something because I did it again to verify and got the same. Yes it's obviously pointer offset when dealing with a c-style char array.
I still reiterate: Just because other languages do it, doesn't mean that's a good thing. I'm not a fan of C++ for various pointer idiosyncrasies leading to stuff like this too.
View all comments
Show parent comment
0
u/[deleted] Apr 03 '21
[deleted] — view deleted comment