Where are MIN and MAX defined in C, if at all?

What is the best way to implement these, as generically and type safely as possible? (Compiler extensions/builtins for mainstream compilers preferred.)

15 Answers
15

Leave a Reply

Your email address will not be published. Required fields are marked *