Monday, April 18, 2011

Shape up notes for Feb 17

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