Write a program arrays1.c that checks if two integer arrays are different by one and only one elementwhen compared element by element (first element with first element, second with second, and so on) and displays the elements that are different. The program asks the user to enter the size of the arrays and then the elements of the arrays.
# Written by Jing Wang for Program Design
# try_arrays1 is a Unix shell script that will be used to test project 4, problem 1.
# To use the script, copy it into the same directory as your scource file
# Set execute permission for the file by issuing the command:
# chmod +x try_arrays1
# Compile your program, producing a.out as the executable
# To run the script, type
# ./try_arrays1
# The user input from the script will not be shown on the screen.
# Compare the results from your program with the expected results on the test cases.
echo ‘====================================================’
./a.out