Question: Create a function to compare the elements of 2 arrays. Function should receive two pointers to an array and then check if the elements are
Create a function to compare the elements of 2 arrays. Function should receive two pointers to an array and then check if the elements are same in both arrays or not. If both arrays are same return true, otherwise false. Sample input: 4 1 3 4 6 1 3 4 6 Sample output: True
Sample input: 3 1 4 5 2 4 5 Sample output: False
use C programming language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
