Need to do some C programming -- what environements are available?

I need to test and debug some C programs – is there some kind of free app where I can edit the text file, compile run and debug?

Not for C, yet still a nice app for your toolbox:
http://www.microsoft.com/download/en/details.aspx?id=12028