You have a function taking in two unsigned integer variables…
You have a function taking in two unsigned integer variables, x and y. You want to add x and y but ensure an overflow does not occur. Write C or C++ code to perform the addition safely and return an error if overflow is detected.