only because pointer to array and pointer to the first element of the array contain same address you can sometimes get through with this incorrect code.

when charptr is really a pointer its...