Skip to main content

Generic Functions

// No Native Support.
// Common options are macros, void pointers, or separate functions per type.

#define max(a, b) ((a) > (b) ? (a) : (b))

int result = max(10, 20);