The function f(x) = ||x| + 1 - x| is:
1
continuous and differentiable at x = 0 only
2
continuous at x = 0 but nowhere differentiable
3
continuous everywhere and differentiable at all points except at x = 0
4
continuous but not differentiable at x = 1