For example: PI = 3.141592653589793238462643383279502884197...
Example:
#define PI 3.141592653589793238462643383279502884197 #define MAX 99999 double x; x = PI; |
To see the "symbolic substitution", compile program with:
CC -P constant.C |
and use an editor to look inside constant.i.
Look at the end of the file !
/* ..... ..... ..... */ |
// .... comment .... |
/* This is a comment in a C or C++ program */ |