What is the value of b after the following function call?

int b = 3;
mystery (b); // function call

void mystery (int &val) //function definition
{
for (int c = 0; c < 5; c++)
val += 2;
}

a) 2
b) 3
c) 13
d) 15


c) 13

Computer Science & Information Technology

You might also like to view...

The feature that enables you to apply predefined styles to major headings, banners, or other text elements is known as ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

____________________ buttons, also known as option buttons, are useful when you need to present a list of options and want the visitor to be able to choose only one.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Briefly describe the basic function of a router, regardless of its size.

What will be an ideal response?

Computer Science & Information Technology

The data rate for a T-1 circuit in North America is:

a. 1.544 Mbps b. 6.312 Mbps c. 44.376 Mbps d. 274.176 Mbps e. 1.544 Gbps

Computer Science & Information Technology