Give the output of the program
public class Output
{
static void input(int a,int b) { int c,d;
c=(++a) + (b++);
d=(a--)- (--b); System.out.println(c+“ ”+d);
}
}
●When: a. a=12 and b=13 is taken as parameters.
●b. a=9 and b=4 is taken as parameters.
Answers
Answered by
0
Answer:
No Idea sir so I can't answer
Answered by
2
1. The answer will be
260 [When a=12 and b= 13]
2. The answer will be
146[When a= 9 and b= 4]
260 [When a=12 and b= 13]
2. The answer will be
146[When a= 9 and b= 4]
Similar questions