heaps/main.cpp
void printHeap( int arr[], int n )
{
	cout << "Array representation of Heap is:\n";

	for ( int i = 0; i < n; ++i )
		cout << arr[i] << " ";
	cout << "\n";
}
// A utility function to print the array
// representation of Heap
A utility function to print the array
representation of Heap
A utility function to print the array representation of Heap
void printHeap( int arr[], int n )
{
	cout << "Array representation of Heap is:\n";
	for ( int i = 0; i < n; ++i )
		cout << arr[i] << " ";
	cout << "\n";
}
void printHeap ( int arr [ ] , int n ) { cout << " \n " ; for ( int i = 0 ; i < n ; ++ i ) cout << arr [ i ] << " " ; cout << " \n " ; }
A utility function to print the array
representation of Heap
A utility function to print the array representation of Heap