
Implement a function that returns 1 when a + b would fall outside the range of an int, and 0 when the sum fits.
add_overflows(2, 3)0add_overflows(INT_MAX, 1)1add_overflows(INT_MAX, INT_MIN)0add_overflows(INT_MIN, -1)1add_overflows(INT_MIN, 0)0add_overflows.c<limits.h>defines INT_MAX and INT_MIN
Run the tests to grade your code
Implement a function that returns 1 when a + b would fall outside the range of an int, and 0 when the sum fits.
add_overflows(2, 3)0add_overflows(INT_MAX, 1)1add_overflows(INT_MAX, INT_MIN)0add_overflows(INT_MIN, -1)1add_overflows(INT_MIN, 0)0add_overflows.c<limits.h>defines INT_MAX and INT_MIN
Run the tests to grade your code
Memory will appear here