So far I just use the call-by-reference method but don't pay attention to that.
But now there is a question : in this method , we pass pointers to the fuction , so, after the function call , the pointers will be thrown away (because all local variables in a function , including the argument passed to it , are stored in a stack during its execution and freed when finished) . So that will affect our variables used to pass ?
But now there is a question : in this method , we pass pointers to the fuction , so, after the function call , the pointers will be thrown away (because all local variables in a function , including the argument passed to it , are stored in a stack during its execution and freed when finished) . So that will affect our variables used to pass ?
Comment