答案1
一种方法是(因为这是你的第一个问题):
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[blk/.style={anchor=west,draw,minimum height=2em}, outer sep=0pt,line width=.6pt]
\draw[line width=1pt,|->] (0,0)node[left]{C}--++(1,0) coordinate(a);
\node [blk, minimum width=3em](b) at (a){4};
\node [blk, minimum width=2em](c) at (b.east){};
\node [blk, minimum width=3em, right=of c](d){6};
\node [blk, minimum width=2em](e) at (d.east){};
\draw[line width=1pt,|->] (c.center)--(d);
\node [blk, minimum width=3em, right=of e](f){};
\node [blk, minimum width=2em](g) at (f.east){Nil};
\draw[line width=1pt,|->] (e.center)--(f);
\end{tikzpicture}
\end{document}