
\documentclass{article}
  \usepackage{lmodern}
  \usepackage[width=8cm]{geometry}
  \usepackage{tabularx}
  \usepackage[french]{babel}
  \pagestyle{empty}

\begin{document}
\begin{tabularx}{\linewidth}{|X|X|}
   \hline
    salut   & coucou \\
    bonjour & hello  \\
   \hline
\end{tabularx}
\end{document}
