What is the value of x after the following function call, given the function definition below?
int x;
aFunction (3, x); // function call
void aFunction (int a, int &b) // function definition
{
b = a * 5 + 1;
}
16
Computer Science & Information Technology
You might also like to view...
Letters, numbers, and symbols that display when you press keys on the keyboard are called ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
Which case of the following would warrant using the boolean logical inclusive OR (|) rather than the conditional OR (||)?
a) Testing if two conditions are both true. b) Testing if at least one of two conditions is true. c) Testing if at least one of two conditions is true when the right operand has a required side effect. d) Testing if at least one of two conditions is true when the left operand has a required side effect.
Computer Science & Information Technology