I saw only two use of #define. First it is used to define constant and second to define macro function.
- When macro should be defined before it's uses start.
- Some macros are already defined by compiler, avoid to redefine them.
- Take care of parenthesis while defining macro function.
If you have any specific question then please post your question.
I will try to answer your query.