Multiple Choice
Which line in the following program contains the prototype for the showDub function?
1 #include <iostream>
2 using namespace std;
3
4 void showDub(int) ;
5
6 int main()
7 {
8 int x = 2;
9
10 showDub(x) ;
11 cout << x << endl;
12 return 0;
13 }
14
15 void showDub(int num)
16 {
17 cout << (num * 2) << endl;
18 }
A) 4
B) 6
C) 10
D) 15
Correct Answer:

Verified
Correct Answer:
Verified
Q1: A local variable and a global variable
Q11: A(n) _ is information that is passed
Q16: A static variable that is defined within
Q20: Which of the following statements about global
Q22: EXIT_FAILURE and _ are named constants that
Q30: A function _ contains the statements that
Q32: In a function header, you must furnish:<br>A)data
Q41: The value in a(n) _ variable persists
Q42: What is the output of the
Q46: Look at the following function prototype. int