Driver Code
int main ( ) { int x1 [ ] = { 0 , 50 } ; int y1 [ ] = { 0 , 50 } ; int x2 [ ] = { 100 , 60 } ; int y2 [ ] = { 100 , 60 } ; int N = sizeof ( x1 ) / sizeof ( x1 [ 0 ] ) ; maxOverlappingRectangles ( x1 , y1 , x2 , y2 , N ) ; return 0 ; }