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...

A(n) ________ query removes records from a table

Fill in the blank(s) with correct word

Computer Science & Information Technology

A slicer allows you to filter data based on distinct values in PivotTable columns

Indicate whether the statement is true or false.

Computer Science & Information Technology