Driver Code
public static void Main ( string [ ] args ) { int [ ] arr1 = new int [ ] { 1 , 0 , - 4 , 7 , 6 , 4 } ; int [ ] arr2 = new int [ ] { 0 , 2 , 4 , - 3 , 2 , 1 } ; int x = 8 ; findPairs ( arr1 , arr2 , arr1 . Length , arr2 . Length , x ) ; } }