Where are MIN and MAX defined in C, if at all?
MIN
MAX
What is the best way to implement these, as generically and type safely as possible? (Compil
The simplest way is to define it as a global function in a .h file, and call it whenever you want, if your program is modular with lots of files. If not, double MIN(a,b){return (a is the simplest way.
.h
double MIN(a,b){return (a is the simplest way.