Name: Anonymous 2010-10-22 10:38
const char const *f;
Ok so that means that I can't do pointer arithmetic or change the contents of what the pointer points to.
So
const char *f;
means that I can't change where the pointer points to but I can change the contents of what it points to.
So does that mean that
char const *f allows me to do pointer arithmetic but I can't write to whatever f points to?
Ok so that means that I can't do pointer arithmetic or change the contents of what the pointer points to.
So
const char *f;
means that I can't change where the pointer points to but I can change the contents of what it points to.
So does that mean that
char const *f allows me to do pointer arithmetic but I can't write to whatever f points to?