The correct option is C is continuous in [0,π2]
Given f(x)=1+[cosx], in 0<x≤π2
Since, [cosx]=0 for 0<x≤π2
So, f(x)=1 for 0<x≤π2
which is a constant function.
∴ f(x) is continuous in [0,π2]
Since, f(x) is constant function and constant functions are differentiable in its entire domain.
Hence, it is differentiable at x=π2