The answer is:
D: The distance between the objects squared.
The gravitational force between two objects is proportional to their masses and inversely proportional to the square of the distance between their centers. Result: 'g' is independent of mass of object !! Hope this helped :)