Tag Archives: macros


A C program that uses macros, MIN & MAX, to find and return, respectively the minimum & maximum of two values

Macro are the small code which is substituted wherever the macro is refered. macros can be used in two ways : First way as a replacement to the code which is long in length or repeated all the time.  e.g. #define CUBE(X) (X*X*X) Second way as a small function in which we can pass arguments… Read More »