prog.c:1: error: ‘NCOLS’ undeclared here (not in a function)
prog.c: In function ‘arr2d_sumElements’:
prog.c:5: error: ‘INT_MIN’ undeclared (first use in this function)
prog.c:5: error: (Each undeclared identifier is reported only once
prog.c:5: error: for each function it appears in.)
prog.c:9: error: ‘NCOLS’ undeclared (first use in this function)