Express using type variables the types of the following functions.
a) The function ref that takes as argument an object of any type and returns a pointer to that object.
b) A function that takes as argument an array indexed by integers, with elements of any type. and returns an array whose elements are the objects pointed to by the elements of the given array.