Computer Applications
Give the output of the following expression:
a+= a++ + ++a + --a + a--; when a = 7;
Related Questions
What is the value of y after the execution?
y+= ++y + y-- + --y; when int y=8If int y =10 then find int z = (++y * (y++ + 5));
What will be the output of the following code?
int k=5,j=9; k+= k++ - ++j + k; System.out.println("k="+k); System.out.println("j="+j);
Rewrite the following program segment using if-else statements instead of the ternary operator:
String grade = (marks>=90)?"A": (marks>=80)? "B": "C";