const: happen in running
#define: happen at complie time, before program running
const int i = ______ ->have to write a value
const char *p; ---> const
char* const q = name; ---->const, and q points name.
int& foo(int& R) RENAME, foo(i) = i;
No comments:
Post a Comment