Target sum triplet

code not running
whats the error


pls check

@vanisinghal0201
you have initialized variable ‘k’ and ‘l’ wrong in your code.
k and l are pointer pointing to i+1 and n-1, not values of these indexes.

Hope you understand what i said.