my code is showing segmentation fault.Please help.
Maximum subarray sum
What is wrong with my logic??And I took long long int so why is size so big??
I used it.please check.
Thankyou so much
.I guess my only mistake was that I returned the value in the main function but did not print it out.Am I right?? 
