notes memory allocation to three-dimensional array suppose we want to calculate address of ( address of th windowi th row and th column lb lb ub ub lb lb ( ub thenfor row major order formaddress of ( +(( *(ub lb )*(ub lb )* ( memory allocation to multi-dimensional array now if we generalize the formulae ( for the dimensions of array then for row major form letadd of (lb lb lb lbnx add of [ [( lb (ub lb (ubn lbn ( lb )(lb lb (ubn lbn )(in lbn )(ubn lbn (in lbn)]* ( now program for address calculation can be made by taking number of dimensionslower and upper bounds of each dimensionsaddress of [lb lb lbnand size as input from user and give address of [ inas output lovely professional university