Science, asked by ashiqnawaf1, 9 months ago

void f (int x, int y) {
while (x < y) {
printf("%d ", y - x);
x = x + 1;
y = y - 1;
}
}
what is the output for (-1,4)?

Answers

Answered by sangeetadas59023
0

Answer:

happy Raksha Bandhan

good morning

have a nice day

Answered by Akansha3652
1

Consider the following recursive function fun(x, y). What is the value of fun(4, 3)

  if (x == 0)

int fun(int x, int y)

  return fun(x - 1,  x + y);

{

    return y;

intfun(intx, inty) {   if(x == 0)     returny;   returnfun(x - 1,  x + y); }

Similar questions