function to find the maximum number from an array in c++ code example
Example: c++ max of array
cout << " max element is: " << *max_element(array , array + n) << endl;
cout << " max element is: " << *max_element(array , array + n) << endl;