Driver Code
var row = [ 2 , 2 , 2 , 2 , 2 ] ; var column = [ 5 , 5 , 0 , 0 ] ; var r = row . length ; var c = column . length ; if ( matrix_exist ( row , column , r , c ) ) document . write ( " " ) ; else document . write ( " " ) ;