Question: Which line in the following program contains function header for the showDub function? 1 #include 2 using namespace std; 3 4 void showDub ( int

Which line in the following program contains function headerfor the showDub function?
1#include
2using namespace std;
3
4void showDub(int);
5
6int main()
7{
8int x =2;
9
10showDub(x);
11cout << x << endl;
12return 0;
13}
14
15void showDub(int num)
16{
17cout <<(num *2)<< endl;
18return;
19}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!