Pointers enable passing

Memory needs to be managed efficiently. Efficient Passing of Data Passing large data structures to functions by value can be inefficient as it involves making a copy of the data.  data structures by reference allowing functions to directly access and modify the original data without copying it. Manipulating. Data Structures Pointers make It easier to…