That article was updated in 2017 by theory.org, it does not follow good pages guide and may have outdated information.Help us to maintain it with Edit on GitHub link
qsort()for some reason. You get nothing else that’s truly portable.
poll()have O(n) behaviour).
int a = 0; f(a, ++a, ++a);is not guaranteed to be
f(0, 1, 2). The order of evaluation is undefined.
i[++a] = j[a];, since which side is evaluated first is undefined.
int *to a
float *then dereferencing it is undefined behaviour. You have to use
int (*)(int, const char *)should be undefined right? Nope! All function pointers can be cast to one another. Actually calling the function after the cast if it is not the correct type is undefined behaviour, though (as you’d rightfully expect).
double *and back again is not undefined, so long as you don’t dereference the pointer in-between. All data pointers are equivalent.