Driver program to test above function
public static void Main ( ) { int [ ] arr = { - 2 , 7 , 15 , - 14 , 0 , 15 , 0 , 7 , - 7 , - 4 , - 13 , 5 , 8 , - 14 , 12 } ; int n = arr . Length ; Console . Write ( " Given ▁ Array ▁ is STRNEWLINE " ) ; printArray ( arr , n ) ;