From the following code:
How would I pass the path variable and edit it in the function so that when I changed it in the function, its contents would also change outside of it. I have looked online but I'm still having trouble comprehending this. ThanksCode:int setPath(char *aPth); int main(int argc. char*argv[]) { char *path; setPath(path); return 0; }