What will the following code display?
```
#include
using namespace std;
void showDub(int);
int main()
{
int x = 2;
showDub(x);
cout << x << endl;
return 0;
}
void showDub(int num)
{
cout << (num * 2) << endl;
}
```
a. 2
2
b. 4
2
c. 2
4
d. 4
4
b. 4
2
You might also like to view...
Record Changes in OpenOffice Writer is used to record any changes made to a mail merge data source
Indicate whether the statement is true or false
A ________ is used to ask a question of the data
A) form B) report C) query D) table
?The coordinates for the section element need not be defined as long as its position is set to _____.
A. ?absolute B. ?fixed C. ?relative D. ?static
What is a mnemonic presented in the text as a way to memorize the layers of the OSI model?
What will be an ideal response?