

McqMate
Q. |
Which one of the following statements about formal and actual parameters is true? |
A. | formal and actual parameters must have the same name |
B. | formal and actual parameters must have different names. |
C. | a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment. |
D. | an actual parameter is declared within the called procedure |
Answer» C. a formal parameter is declared within the called procedure, while an actual parameter is declared in the calling environment. |
View all MCQs in
Principles of Programming LanguagesNo comments yet