Driver program to test above function
int main ( ) { int arr [ ] = { 1 , 2 , 3 , 4 , 5 } ; int k = 4 ; int n = sizeof ( arr ) / sizeof ( arr [ 0 ] ) ; cout << " Count ▁ of ▁ subsets ▁ is ▁ " << subsetXOR ( arr , n , k ) ; return 0 ; }