Main 1. Create a header file named "W0801.h" that defines a bool function named Adder() whose header is bool Adder (bool
Posted: Sat May 14, 2022 7:51 pm
Main 1. Create a header file named "W0801.h" that defines a bool function named Adder() whose header is bool Adder (bool A[], bool B[], bool C[]) Given that the lengths of A, B and C are all 8 and A and B represents unsigned binary integers, the functions assigns the sum of A and B to C. If overflow occurs, the function returns false; otherwise, it returns true. Test 2. Create a cpp file named main.cpp that calls Adder(). Before and after the call, display the content of the arrays used in the caller, and then outcome of the caller.