Driver Code
int main ( ) { int array [ ] = { 1 , 2 , 3 , 4 } ; int k = 10 ; int size = sizeof ( array ) / sizeof ( array [ 0 ] ) ; int count = countsubarray ( array , size , k ) ; cout << count << " STRNEWLINE " ; }