Guys I have a quick general knowelege question.
When defining a function in any programming langauge that will return a pointer to a linked list created in the function, can we return that pointer by reference?
If so, can you provide me with a SIMPLE example of the following scenarios:
1- when it is necessary to return a pointer by reference.
2- when it is sufficent to return a pointer by value.
Thanks for any information.