What are the result stored in x and y, after evaluating the following expression:
a) int x, j; j=5; x=(5*j++)%6;
b) int x=5; x=x++*2+3*--x;
c) int x=9,y=9; y=!(x--*19>++x*20)? “9”.length() : 9;
System.out.println(x+”,”+y);
d) int x=20,y=10,z=0; What is the value of z in z=++x*(y++)-y;
e) if x=5 and y=-5; give the value of x &y after evaluating the following:
i) x=x+(++y)+x*20; ii) y*=y--;
f). Int x=21;y=12; z=++x-++y-x-y; What will be the value of x,y,z;
g) if m=12, then find n=m++*5+--m;
h) if y=14, then find z=(++y)*(y+++5)
i) What value will be stored in x ,y and z after executing the following statement:
int x=10,y=15,z=7; y+=x+2*z- --x;
j. int x=20; x-=--x+x--+--x%7;
Answers
Answered by
0
Answer:
dfhjmkohgvvdcvhhhbbbbbgvvbmkhv b GG vbh bbbbbhjjknhh
Similar questions
Political Science,
2 months ago
Math,
2 months ago
Math,
4 months ago
Sociology,
4 months ago
Social Sciences,
9 months ago
Chemistry,
9 months ago
Biology,
9 months ago