The implementation of the min function here is done as:
#define min(x, y) ({ \ typeof(x) _min1 = (x); \ typeof(y) _min2 = (y); \ (void) (&_min1 == &_min2); \ _min1 < _min2 ? _min1 : _min2; })
What is the point of the 4th line?
Why is this: (void) (&_min1 == &_min2); ?
c
BЈoviћ
source share