Is there a C compiler for iPad?
A cursory look at the iTunes Store reveals CodeToGo (iTunes Store Link). Since you cannot compile on the iPad itself, this app leverages a web service (IDEOne) in order to run the program and return the results to your device. The app is USD$3 and a universal binary (iPhone+iPad). The web service appears to be free, if not just a little ugly :).