Computer Applications
int m, p;
m = 5;
p = 0;
p = m-- + --m;
The output will be:
- 11
- 10
- 8
- 12
Java Operators
136 Likes
Answer
8
Answered By
25 Likes
Related Questions
What is the result of the following in Java statement?
int m=8; m*=8; System.out.println("The output =" + m);double c; int x, y, z; x = 5; y = 10; z = 11; c = x*y+z/2;The value stored in c is:
int a=7, p=0, q=0; p= ++a + --a; q -= p;The output of q will be:
Write the Java expression for the following: