Multiple Choice
Which line in the following program contains the header 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
Q7: If a function is called more than
Q20: What is the output of the
Q23: A _ variable is declared outside all
Q27: Look at the following function prototype. <br><img
Q27: Global variables are initialized to zero by
Q36: It is not considered good programming practice
Q37: It is a good programming practice to
Q39: This type of variable is defined inside
Q39: You must furnish an argument with a
Q48: This is a statement that causes a