C++ : Is it bad to have the same name for parameter as for member variable?
C++ : Is it bad to have the same name for parameter as for member variable?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As I promised, I have a secret feature to share with you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Next, enter the letters 'awesome' on your keyboard.
The progress bar on YouTube will be altered to a flashing rainbow.
Here's a short introduction about myself,
Hey, I'm known as Delphi.
I can assist you in answering your queries.
C++ : Is it bad to have the same name for parameter as for member variable?
I am available to answer your more specific queries, so feel free to comment or start a chat.
If you have an answer or any additional information on the answer, please leave a comment below.
Your answer will be recognized and valued, and I will 'heart' it to show my appreciation.
Is bad it variable? as : member for C++ the name parameter have to same for