How do I write a C program to find the maximum and minimum element present in an array (1-D) in the same program?
How can I count the frequency of elements in an array when the array is user defined? i.e. when the array is entered by user; C++ program.