The correct option is A f(x)=|x| in [−2,2]
For a function f:[a,b]→R, Rolle's theorem is applicable iff the following three conditions are satisfied:
(i) f is continuous on [a,b].
(ii) f is differentiable on (a,b).
(iii) f(a)=f(b).
Option (a) does not satisfy the second condition as f(x)=|x| is not differentiable at x=0.
All other options satisfy the three conditions of Rolle's theorem.