Bracket syntax is a useful shortcut for the pointer arithmetic not []C++ array assign error: invalid array assignment