Answer & Solution
$x using the post-decrement operator ($x--), which decrements the value of $x by 1 after returning its current value. So, it prints 5. Then, it prints the updated value of $x, which is 4. Therefore, the output will be 5 4.