Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GARARHG

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?

Name: >>2 2010-10-22 10:40


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List