This is the preprocessing directive of the form.
#define identifier token-sequence
The preprocessor starts before the compiler converts your code for use in the compiler. The order is as follows:
- Trigraph Replacement
- Line merging
- Defining and expanding macros
So, with #defineyou can have character manipulation (macro substitution).
Whenever M is seen, 4 will be replaced.
void matrixSum (int P[4][5], int Q[4][5], int R[4][5]); // ..etc
- const .
C
const int M;
const int M = 4;
, , , , , .