Question: Q2. Please create a user-defined function that takes two same-sized int arrays as parameters as well as the array size. The function uses pointer arithmetic

Q2. Please create a user-defined function that takes two same-sized int arrays as parameters as well as the array size. The function uses pointer arithmetic to compare if the two arrays are the same or not. Return true if same, false if not. (8 points) Extra Credit 1 point, if you use template. (You are only required to provide the function definition here. In other words, you do NOT need to provide function prototype or main) function here.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
