Other than that, it seems pretty straightforward what needs to be done, from the information you've given. Create two pointers of whatever type you're using (int, double, char, etc.) and assign one to the first element and the other to the last element using the = operator.
Hope that helps. Again, that link will most likely help you immensely with what you're trying to do.