[Tex/LaTex] Insert 4 figures in a square like structure

floatsgraphicssubfloats

I want to insert 4 figures in structure of a square i.e. in two rows and two columns, the structure I talk about is given in the image below;

enter image description here

Please help me with piece of code. Thanks.

Best Answer

\begin{center}
\includegraphics[width=.4\textwidth]{a}
\includegraphics[width=.4\textwidth]{b}
\includegraphics[width=.4\textwidth]{c}
\includegraphics[width=.4\textwidth]{d}
\end{center}
\caption{ 4 figures}