For the following code:
void f (int x, int y)
{
while (x = y)
{
printf("%d ", y - x);
X = X + 1;
y = y - 1;
}
}
What is the output for f(2, 6)?
Answers
Answered by
1
The return type is void so will not be any returning from f(). The variables inside f() will be destroyed as execution is completed.
Similar questions