Question: Given: x = 1 0 ; A student was asked to use a unary post increment operator and unary post decrement operator and write two

Given:
x=10;
A student was asked to use a unary post increment operator and unary post decrement operator and write two statements usinf teh variable x.
He wrore the following two statements:
((x++))
((--x))
What's your take on those statements? Is the student correct?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!