SOLUTION —
$\lim _{x \rightarrow 0} f(x)=\lim _{x \rightarrow 0} \frac{1-\cos x}{x}=\lim _{x \rightarrow 0} \frac{2 \sin ^2 x / 2}{4(x / 2)^2} x=0$ and $f(0)=k$
$\because$ Function is continuous at $x=0$
$\therefore \quad \lim _{x \rightarrow 0} f(x)=f(0) \Rightarrow k=0$
So, The correct option will be (A).