Maximum subarray sum maxum=0 initialisation

WHEN ALL THE NUMBERS IN ARRAY ARE NEGATIVE THEN CURRENTSUM WOULD NEVER GREATER THAN MAXSUM AS IT IS INITIALISED TO ZERO ,SO MAXSUM SHOULD BE INITIALISED WITH WHAT VALUE?

@cs1737.iiitbhopal hey rishi in this case visit this discuss