Satyam P.

asked • 03/18/20

What does g(-2, 5) evaluate to?

What does g(-2, 5) evaluate to?

int g (int x, int y) {
x= x + y;
int z = 2 * x + y;
return z;

1 Expert Answer


Varun M. answered • 03/18/20

5.0 (33)

Tutor specializing in Computer Architecture

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.