Given
int x = a number;
int y = some number;
int z = x + y; // did overflow occur?
At least on Intel chips, overflow detection is possible through the overflow flag. But there's no direct way to get to it through ANSI C. Why not?
NOTE: The question is not about how to detect overflow while using ANSI C/C++. Rather, it's asking why didn't Dennis Ritchie, and later the ANSI C committee, provide this very useful feature.