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

Computer Science & Information Technology

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

Computer Science & Information Technology

A ________ is used to ask a question of the data

A) form B) report C) query D) table

Computer Science & Information Technology

?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

Computer Science & Information Technology

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?

Computer Science & Information Technology