What does it mean that “a declaration shadows a parameter”?
I am trying to make a function that returns double the integer number that I will pass to it. I am getting the following error message with my code: declaration of ‘int x’ shadows a parameter int x; “ Here is my code: