Solved

Which Line in the Following Program Contains a Call to the ShowDub

Question 44

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 \quad int x = 2;
7 \quad showDub(x) ;
8 \quad cout << x << endl;
9 \quad return 0;
10 }
11 void showDub(int num)
12 {
13 \quad cout << (num * 2) << endl;
14 }


A) line 3
B) line 4
C) line 7
D) line 11

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents