The value of gravitational constant depends upon:
The gravitational constant is a universal constant. It remains as it is in any condition. It does not depend on any of the factors like the temperature, mass, distance between the masses.
Value of G is Nm2kg-2.
Hence, option D is correct.