Note: You can use only pointer based operations whileimplementing each of the functionalities below// zero points willbe given if pointer operations are not used in implementing // eachof the operations below. // Also, use C code only in visual studioor GCC
i) Create a 2 - D array of integers using pointers (use dynamicmemory allocation) in C. Assume that the array has 4 rows and 5columns.Then, fill the array with randomly generated int valuesbetween 1 and 100. */
ii.) Find the largest values in the array
iii.) Find the smallest value in the 1st row
iv.) Find the smallest value in the 1st column
v.) Display the elements in the diagonal