the potential energy of earth is infinity or zero?
You question does not supply enough information for an answer. "Potential energy" is, by definition, always relative to some point. That is, for example, an object with mass m has potential energy mgh relative to a point h meters below it, potential energy -mgh relative to a point h meters above it, and, or course, potential energy 0 relative to its own height.
thqs fr ur reply sir bt i still have doubt that we do earthing fr electrical connections sir dat means we can say dat earth has infinite potential to receive the charges
You'll need to stop talking in text speak to get answers here. However, there is more than one form of potential energy...electric and gravitational are two examples.
Separate names with a comma.