MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/array-2d/recursive.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 exp(arr, n - 1, target, count);
12}
13int main(){
14 int arr[]={ 2, 7, 4, 0, 9, 5, 1, 3 };
15 int target = 6;
16 int n=sizeof(arr)/sizeof(arr[0]);
17 exp(arr,n,target,0)?cout<<"triplets exist":
18 cout<<"tripletes doesn't exists";
19 return 0;
20}

Callers

nothing calls this directly

Calls 1

expFunction · 0.70

Tested by

no test coverage detected