A) formal parameter
B) actual parameter
C) data type
D) type of the function
Correct Answer
verified
Multiple Choice
A) 5
B) 6
C) 7
D) 8
Correct Answer
verified
Multiple Choice
A) cout << testAlpha(5, 'A', 2) ;
B) cout << testAlpha( int 5, char 'A', int 2) ;
C) cout << testAlpha('5.0', 'A', '2.0') ;
D) cout << testAlpha(5.0, "65", 2.0) ;
Correct Answer
verified
Multiple Choice
A) zero
B) null
C) void
D) empty
Correct Answer
verified
Multiple Choice
A) '$'
B) '0'
C) '1'
D) An error, because you cannot use tolower with '$'.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 6.0
B) 7.0
C) 8.0
D) 9.0
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) -1
B) 1
C) 9
D) 20
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
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
Short Answer
Correct Answer
verified
Multiple Choice
A) <cctype>
B) <iostream>
C) <cmath>
D) <cstdlib>
Correct Answer
verified
Multiple Choice
A) actual
B) local
C) formal
D) function
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) cout << test(7, test(14, 23) ) ;
B) cout << test(test(7, 14) , 23) ;
C) cout << test(14, 23) ;
D) cout << test(7, 14, 23) ;
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 41
Related Exams