Multiple Choice
Which line in the following program contains a call to 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
Q36: The value in a _ variable persists
Q37: One reason for using functions is to
Q38: A static variable that is defined within
Q39: This type of variable is defined inside
Q40: A parameter is a special purpose variable
Q42: A local variable and a global variable
Q43: These types of arguments are passed to
Q44: It is good programming practice to _
Q45: When a function is called, flow of
Q46: A function _ contains the statements that