Maximum size of xor tree
int max_size = 2 * ( int ) pow ( 2 , x ) - 1 ; cout << " Nodes ▁ of ▁ the ▁ XOR ▁ Tree : STRNEWLINE " ; for ( int i = 0 ; i < max_size ; i ++ ) { cout << xor_tree [ i ] << " ▁ " ; }