Answer:
5
Step-by-step explanation:
The operator '--number', it is a pre decrement operator which decrement first and then assign. It decrement the value by 1.
initially the number is 6.
x is 0.
then, x = --number;
it decrement the number by 1 first and then assign to x.
so, x assign the value 5.
finally, print the value.
Therefore, the answer is 5.