A book placed on the desk is pushed to the right, in which direction will the force of friction act?
left
The force of friction always opposes the relative motion. If you apply the force along the left direction, the book will try to move towards the left. To oppose its relative motion with desk, the frictional force acts towards the right direction. Suppose if you apply the force in the right direction, friction will act along the left direction.