What is the output of this line of code, given the following definition?

cout << aNumber (2, 5); // code in main

int aNumber (int x, int y) { // function definition
return (2 * x - y);
}

a) -6
b) -1
c) 6
d) 8

b) -1

Computer Science & Information Technology

You might also like to view...

What is the purpose of the PATH variable?

What will be an ideal response?

Computer Science & Information Technology

In the accompanying figure, ocean, fish, and background are all ____________________ with descriptive names.

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

Computer Science & Information Technology