Code not working,,could you please tell where i am wrong and mention it in comments in program

question:
array- target sum triplet

answer:
www.codeshare.io/anvdAX

please reply fast…its been 2 hours since i have posted question,no one is replying

@aarijrab
your code link is not opening .Please share your code after saving it on ide.codingblocks.com

answer link: www.codeshare.io/G6be1Q

earlier link was also opening but i have sent a new one…please help…

still not opening
share your code after saving it on ide.codingblocks.com

answer link : www.ide.codingblocks.com/s/324977

please solve my question…

@aarijrab
since there are multiple triples possible with same beginning index i, instead of breaking when a triplet is found do l++ and r–

this is the question