What is the difference between const char *myPointer and char *const myPointer?
What is the difference between const char *myPointer and char *const myPointer? Const char *myPointer is a non constant pointer to constant data; while char *const myPointer is a constant pointer to non constant data.
No comments:
Post a Comment