In C macros are divided into MACRO constants and MACRO that take parameters.
The MACRO constants are used to avoid doing magic number programming [constants].
Magic number (programming) - Wikipedia, the free encyclopedia
Edit2: Look up the "#define" for more info on MACROs
Edit3: http://en.wikipedia.org/wiki/C_preprocessor
MACRO that take parameters are too complex for me to explain to anyone; esp. to a newbie C programmer.
They do it in order to make useful programs that are NOT tiny.
They do it in order to reuse the code/libraries.
They do it to avoid using other people library they do NOT wish to use.
They do it to avoid re-inventing the wheel in every program they write.
Tim S.