C, C++ Program to Print Smallest Element of an Array |

To understand this problem, Let's take an array

**arr[] = {3, 4, 1, 5, 6}.**The smallest number in an array is 1.

Now the question is how to solve this problem. You can use multiple approaches to solve this problem.