C++ : Why is returning address of local variable or temporary only a warning and not an error?
C++ : Why is returning address of local variable or temporary only a warning and not an error?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As promised, I have a hidden feature that I want to share with you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
You will see a flashing rainbow instead of a regular progress bar on YouTube.
Let me give you a brief introduction of who I am,
Welcome, I'm Delphi.
I am willing to help you find the solutions to your questions.
C++ : Why is returning address of local variable or temporary only a warning and not an error?
Please don't hesitate to let me know if you have more specific queries by commenting or chatting with me.
If you have an answer, or any insights to the answer, please comment below.
I will 'heart' your answer to show my gratitude for your contribution.
returning or not error? Why of only C++ and a warning : an address temporary variable is local