Q.9 What will be the Output based on Increment(++) / Decrement(--) operators:- [5] a) int a=3,b=11,c=0;
c = ++b – a++;
System.out.println( c );
b) int a=15,b=3,c=10;
c = ++a + ++b – ++a;
System.out.println( c );
b) int a=-1,b=-1,c=-1;
c = ++a + ++a + a++ + a;
System.out.println( c );
d) int a=3, b=63, c=100;
c = a+++++b – – –a;
System.out.println( c );
e) int a=4, b=44, c=444;
c = a++ – ++b + a;
System.out.println( c );
Answers
Answered by
0
Answer:
mark me as brainest
Explanation:
mark me as brainest
Similar questions