The correct option is C In the backward direction on both front and the rear wheels
In cycling, the rear wheel moves by the force communicated to it by pedalling while front wheel moves by itself. So, while pedalling a bicycle, the force exerted by rear wheel on ground makes force of friction act on it in the forward direction (like walking). Front wheel moving by itself experience force of friction in backward direction (like rolling of a ball). However, if pedalling is stopped both wheels move by themselves and so experience force of fricion in backward direction.