Answers for "c require max"

C
2

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))
Posted by: Guest on November-05-2020

Code answers related to "C"

Browse Popular Code Answers by Language