newMat(n,p) or matrix(n,p) takes as argument two integers. newMat(n,p) returns the zero matrix with n rows and p columns. Input:
Output: