Driver code
int main ( ) { int arr [ ] = { 12 , 65 , 46 , 37 , 99 } ; int n = sizeof ( arr ) / sizeof ( arr [ 0 ] ) ; if ( isDivisible ( arr , n ) ) cout << " Yes " ; else cout << " No " ; return 0 ; }