why printf is declared as a mcro in embedded systems code example
Example: How to define Max in define in c
// For defining x > y
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
// For defining x < y
#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
// For defining x > y
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
// For defining x < y
#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))