1

What is the output of the given program??
int a=4,b=8,c=3,d=9,z;
z=a++ + ++b * c– – –d;
System.out.println(“a=”+a+”, b=”+b+”, c=”+c+”, d=”+d+”, z=”+z);

  • a=4, b=9, c=3, d=8, z=12

  • a=5, b=9, c=2, d=8, z=23

  • a=5, b=9, c=2, d=8, z=21

  • a=4, b=9, c=3, d=8, z=23