Computer Science, asked by harshi2103, 1 year ago

give the output of java program

Attachments:

Answers

Answered by NabasishGogoi
3
x+=(x++)+(++x)+x; // (x+=) is a short hand operator which means x=x+ and (x++) is a post fix operator which will use the old value of x first and then change the value internally and at the next time the variable will be used it will use the new value x=4+4+6+6;
x=20;

NabasishGogoi: plz mark as brainliest:)
Similar questions