Difference between #define and const in C?

#define is a preprocessor directive. Data defined by the #define macro definition are preprocessed, so that your entire code can use it. This can free up space and increase compilation times.
const variables are considered variables, and not macro definitions. 
CONSTs are handled by the compiler, where as #DEFINEs are handled by the pre-processor.
Posted on by