A) 4
B) 6
C) 10
D) 15
Correct Answer
verified
Multiple Choice
A) data type(s) of the parameters
B) data type of the return value
C) the name of function
D) names of parameter variables
E) All of these
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) A global variable is accessible only to the main function.
B) A global variable is declared in the highest-level block in which it is used.
C) A global variable can have the same name as a variable that is declared locally within a function.
D) If a function contains a local variable with the same name as a global variable, the global variable's name takes precedence within the function.
E) All of these are true
Correct Answer
verified
Multiple Choice
A) int
B) double
C) void
D) Can't tell from the prototype
Correct Answer
verified
Multiple Choice
A) function call, function header
B) parameter, argument
C) argument, parameter
D) prototype, header
E) None of these
Correct Answer
verified
Multiple Choice
A) 2
2
B) 4
2
C) 2
4
D) 4
4
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) dynamic
B) local
C) counter
D) static local
Correct Answer
verified
Showing 41 - 49 of 49
Related Exams