Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) int funcTest(int x, int y, float z) {}
B) funcTest(int x, int y, float) {};
C) int funcTest(int, int y, float z)
D) int funcTest(int, int, float) ;
Correct Answer
verified
Multiple Choice
A) a definition, but not a declaration
B) a declaration and a definition
C) a declaration, but not a definition
D) a comment line
Correct Answer
verified
Multiple Choice
A) <cctype>
B) <iostream>
C) <cmath>
D) <cstdlib>
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) Parameter names must be listed in the prototype, but not necessarily in the header.
B) Prototypes end with a semicolon, but headers do not.
C) Headers should come before prototypes.
D) Headers end with a semicolon, but prototypes do not.
Correct Answer
verified
Multiple Choice
A) 5
B) 6
C) 7
D) 8
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) title
B) function signature
C) function head
D) function header
Correct Answer
verified
Showing 41 - 50 of 50
Related Exams