How we can avoid the problem of Dangling reference-00007
This subjective question is related to the book/course
vu acc311 Fundamentals of Auditing.
It can also be found in
vu acc311 Mid Term Solved Past Paper No. 1.
Question 1: How we can avoid the problem of Dangling reference
Answer:
To avoid dangling reference, don't return the reference of a local variable (Transient) from a function.