I’M STILL NOT ABLE TO UNDERSTAND THE CONCEPT OF PASSING 1-D AND 2-D ARRAY IN FUNCTION THROUGH POINTER .YOU DID’NT HEED OVER MY PREVIOUS DOUBT.IS THIS THE TYPE OF SERVICE I HAVE GIVEN MONEY FOR …………
why you have used character array pointer in the function parameterPassing array via pointer
Which course have you opted for??
It is very well explained in C++ Launchpad videos
While passing array through pointers, we pass the base address of the array to required function.
As there is contiguous memory allocation, thus the whole array can be accessed through the base address only.
I Hope it helps.