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

Verified
Correct Answer:
Verified
Q24: A function's return data type must be
Q25: Given the following function:<br>void calc (int
Q26: If a function does not have a
Q27: Global variables are initialized to zero by
Q28: Which line in the following program
Q30: You may use the exit() function to
Q31: What is the data type of the
Q32: Select all that apply. Which of the
Q33: EXIT_FAILURE and _ are named constants that
Q34: A function is executed when it is<br>A)