Write a function to find the smallest element from an array.

Write a function to find the smallest element from an array.

From the Combined Bank Assistant Programmer (CSE) June 2023 – Written exam, question 2 of 10.

More from this paper