Integer overflow checking with C23

While I wasn&rsquo;t looking, C23 has standardized checked integer arithmetic functions , replacing the old &ldquo; __builtin_mul_overflow() &rdquo; compiler intrinsics that shipped with GCC and Clang . &#xA; #include <stdckdint.h>&#xA;bool ckd_add(type1 *result, type2 a, type3 b);&#xA;bool ckd_sub(type1 *result, type2 a, type3 b);&#xA;bool ckd_mul(type1 *result, type2 a, type3 b);&#xA; &#xA; The…