Question: 2. a) Write a function that accepts two arrays and returns true if the second array is within the first array and returns false if
2. a) Write a function that accepts two arrays and returns true if the second array is within the first array and returns false if not. b) Write a main function where you make a call to your function with appropriate variables of your choice. Problem 1 1. Consider the following function (K is the size of array A and L is the size of array B) bool func (int A[], int K, int B[], int L, int start) { 1. if (L > K-start) 2. return false; 3. for (int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
