Because it does not matter.
This is one of the most beautiful features of a programming language.
When a parameter is passed as an argument to some other function the it becomes a "local variable" for that function with the name specified in the definition of the function of that argument.
The only real restriction that we have here is that the data type of the argument and parameter passed must be same. Otherwise you will get an exception.
But if the data type is valid then you may or may not have same name of the parameter passed and the argument defined for the function.
It is like saying that I have a pet name, say 'p' that my family and friend uses to identify me with. But when my parents send me outside to an university they register me by my official name 'o'. So the university authority identifies me by a different name. Same person, two names(references).
The same is the case with functions. They recieve the parameter and now identify it by a different name throughout the execution of the function which hardly makes any difference whether the name is same or different than the name originally given to the parameter passed.
Anja, Bengt and Carola play a game. What the game is about and how it works, we don't care. We only need to know that the highest score wins, that Anja's score is a Poisson-distributed stochastic variable with parameter 2, that Bengt's score is Poisson distributed with parameter 3, that Carola's score is Poisson distributed with parameter 4 and that the players' points are independent of each other . The score was 1, 2 and 3, but we don't know...
match the argument with the response suggested by economi Match the argument with the response suggested by economists. The jobs argument: Trade should be restricted A Trade restriction causes domestic prices to rise. The cost because it destroys jobs in industries that compete with imports to consumers exceeds the lost earnings of workers who lose their jobs. It would be cheaper to pay the workers The dumping argument When a producer sells a retaliation from trading partners will shrink employment...
An argument essay, Why Your Doctor Should Care about Social Justice?
Match with the correct Political Argument or Economic Argument for intervention the following: import substitution - promote investment flows- protecting jobs- national security- protecting environment- infant industry argument- protecting consumers- essential industry argument
Should we be concerned about corporations that just don't seem to care if sexual harassment occurs? Is it just a cost of doing business? Should corporations care? Do we make too big a deal out of these allegations?
why don't we design LANs so that there is no switching loops?
"But if we don't study together, then I'm not going to get through the course. And if I don't get through the course, then I'm going to ruin my GPA and lose my financial aid. So if we don't study together tonight, then I'm going to lose my financial aid". Which test, of the four test of arguments worthiness, does this argument fail? What fallacy does this argument contain?
Why can't ionic bonds ever be "double" or "triple", and why don't we represent them as "lines between atoms" like we do for covalent bonds? there is one reason that answers both questions.
Why do we call medical care “healthcare”?
What do you think is the strongest argument for why we should always believe women in so-called “she said, he said” cases of sexual assault accusations? Why does it mater? Philosophical answers can apply here.