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

Which line in the following program contains the prototypeshowDubfunction?
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}

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 Programming Questions!