Which of the following must be true if there is a variable of the same name and type in main as in a function’s parameter list?
a) The value of the variable in the function will be the same as the value of the variable in main.
b) There are two different data storage locations for the variables and the compiler makes no connection between the two variables.
c) This is a syntax error.
d) The variable in the parameter list must be a reference parameter.
b) There are two different data storage locations for the variables and the compiler makes no connection between the two variables.
You might also like to view...
What are the drawbacks of Web-based advertisements that flash to get a person’s attention?
What will be an ideal response?
The circular arrow above a selected picture is the ________
Fill in the blank(s) with correct word
In a tree, the ____ is a measure of the distance from a node to the root.
A. count B. degree C. branch D. height E. level
Use of acronyms or initialisms where they are not defined or well-known makes documents difficult to understand.
Answer the following statement true (T) or false (F)