The maximum no of proper non empty sub-strings for the given 'n' length string is:
A) n*(n+1)/2 - 1
B) n*(n+1)/2
C) n*(n+1)/2 + 1
D) none of the above
I basically want a good explanation here for whatever option you choose???thanks in advance .
<answer given as per coaching book is B>