link of code.
Please resolve my doubt, If the 2d array indexes are negative garbage value are coming. How to deal with is? Please help
@pranjalsoni hey,aap pehle element ko pehle hi initialise krlo and then next wale element se loop chlao to index-1 hmesha >=0 rhega.
please see code this is submatrix problem. this is not a simple 2d array problem. Please tell me how to do change in my code so that is will give sum of all submatrix.
Please help…
@pranjalsoni hey,apne array fil krte hue loop equal to n tk chlaya hai ,use n tk kro rest sahi lg rha hai.
this is not giving required output.
Thank you sir. Jai ho aapki. Ese hi sabhi ki help karte rahiye. Thank you once again.