Concept:
The horizontal force produces a normal reaction on the wall.
\[
N=F
\]
The maximum static friction is
\[
f_{\max}=\mu N
\]
For the block to remain at rest,
\[
f_{\max}\ge mg.
\]
Step 1: Calculate the weight of the block.
\[
m=0.1\ \text{kg}
\]
\[
g=10\ \text{m s}^{-2}
\]
\[
mg=0.1\times10=1\ \text{N}
\]
Step 2: Apply the equilibrium condition.
For minimum force,
\[
\mu F=mg
\]
\[
0.4F=1
\]
\[
F=\frac{1}{0.4}
\]
\[
F=2.5\ \text{N}
\]
Step 3: Write the final answer.
\[\begin{aligned}
\boxed{2.5\ \text{N}}
\end{aligned}\]
Hence, option \(\mathbf{(C)}\) is correct.