Searching the elements of an array by using function and global variable

Published --