How can I use apt-get to list all packages written in C?
The debtags package could be useful for this.
debtags search devel::lang:c
This will list all packages which have been tagged as written in C.
apt-cache rdepends libc6
will show you all packages that depend on libc6.