re: A Weird Way to Substring in C++ VIEW POST

TOP OF THREAD FULL DISCUSSION
re: A "fun" side effect of the fact that the C++ (and C) subscript operator is just pointer arithmetic means that const char* array[] = { "Well", "Th...
 

I knew about the pointer arithmetic aspect from college, but I had no idea you could also do it with string constants! Thank you for the explanation!

code of conduct - report abuse