Driver code
int main ( ) { int A [ ] [ C ] = { { 0 , 1 , 1 , 0 } , { 1 , 1 , 1 , 1 } , { 1 , 1 , 1 , 1 } , { 1 , 1 , 0 , 0 } , } ; cout << " Area ▁ of ▁ maximum ▁ rectangle ▁ is ▁ " << maxRectangle ( A ) ; return 0 ; }