Answer: C. C is correct: gravity is conservative, so its work round a closed loop is zero (page 78, NCERT Class 11 Physics Chapter 5); friction reverses to oppose motion on every leg, so it does negative work on each and cannot cancel.
Why A is wrong: A is wrong because it applies the closed-loop-zero result to friction, which is exactly the property friction does not have — friction's negative contributions accumulate rather than cancel.
Why B is wrong: B is wrong because gravity's work here is zero, not negative: the block starts and ends at the same height, and the floor is horizontal so displacement is always perpendicular to gravity.
Why D is wrong: D is wrong because kinetic friction always opposes the relative motion, so the angle between it and the displacement is 180° on every leg and its work is never positive.