Computer Science, asked by ruhinayak16, 2 months ago

a. give the output of the following:
int a=5;
a++;
system.out.println(a);
a-=(a - - ) - (- - a);
system.out.println(a);

b. give the output of the following:
int x=4;
x+=(x++)+(++x)+x;

c. give the output of the following:
int k=5,j=9;
k+=k++ - ++j+k;
system.out.println("k="+k"J="+j);

d. operator with higher precedence are evaluated before operators with a relatively lower precendence . arrange the operators given below in the order of higher precedence to lower precendence.
i) && ii) %. iii) greater=.
iv) ++


please answer this question correctly I will thank your all answer and follow u and Mark ur answer as a brainlist answer!!!
please give correct answer.....​

Answers

Answered by nisha263248
0

Answer:

a) 5

3

b)20

c) k=6 J=10

d)%

greater=

++

&&

Similar questions