I'd like to know how one can change the table's default empty cell space to something else when the cell has nothing written in it.
E.g:
\begin{table}
\begin{tabular}{l l l l}
1 & 2 & 3 & 4\\
& x & x
\end{tabular}
\end{table}
Would result in this:
1|2|3|4
|x|x|
But what I'm aiming for is to replace the blank cell for, let's say, 0. So something like this:
1|2|3|4
0|x|x|0
Thanks.
-- Edit --
MWE:
\documentclass{article}
\begin{document}
\begin{table}[htbp]
\begin{tabular}{l l l l}
1 & 2 & 3 & 4 \\
& x & x
\end{tabular}
\end{table}
\end{document}
