1. (Duplicate Elimination) Read 20 integers into an array. Next, use the unique algorithm to reduce the array to the unique values entered by the user. Use the copy algorithm to display the unique values.
2. List several advantages function objects provide over function pointers.