Use The C Max Function 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))

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy