question:
Array- Target Sun( coding blocks)
answer:
www.codeshare.io/G6b9jO
I think my code is right but not producing correct output..could you please mark in commments in program where i am wrong
question: target sum*
Here is your corrected code. Please check it.
bhaiya i have a query…why have you used pointer isntead of array…their function is the same right???
Yes both will work. But the pointer part points to only the first element of the array.
Change line 30 to cin>>arr[i];