If pair exists then 1 else 0 2 nd argument as size of first array fourth argument as sizeof 2 nd array
if ( pairExists ( arr1 , 4 , arr2 , 3 ) ) cout << 1 << endl ; else cout << 0 << endl ; return 0 ; }