Which line in the following program contains the prototype showDub function?

```
1 #include
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

a. line 3

Computer Science & Information Technology

You might also like to view...

The ________ is the first argument of the IF function

A) logical test B) if true statement C) value comparison D) if false statement

Computer Science & Information Technology

Which of the following statements about data backup is not true?

A. Backups can be stored in the cloud. B. Backups can be conducted once a week. C. Backups do not have to be restored as long as they are stored in the cloud. D. Backups can be stored to a tape.

Computer Science & Information Technology