Computer Science, asked by varun1234pp, 4 months ago

3. Write the output for the following:
public static void main(String args[])
{
int a = 1;
int b = 2;
int c;
int d;
C =
d = a--;
C--;
System.out.println("a = " +a);
System.out.println("b = +b);
System.out.println(c = " +c);
System.out.println("d="+d); }
in java​

Answers

Answered by samarthkrv
1

Answer:

a = 0b = 2c = 0d=1

Explanation:

Similar questions