C

Manjunath H.

asked • 06/25/20

What is the output for f(-1, 4)?

void f (int x, int y) {

while (x < y) {

printf("%d ", y - x);

x = x + 1;

y = y - 1;

}

}

1 Expert Answer

By:

Patrick B. answered • 06/25/20

Tutor
4.7 (31)

Math and computer tutor/teacher

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.

OR

Find an Online Tutor Now

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