Xcode probably can but it's definately not simple to pickup and start using. I write C code for a living and I've yet to really get a handle on how Xcode works. Of course I've also never really tried to find a reference book or guide to help me figure it out.
If you're learning programming, I'd stay away from a full IDE like Xcode until you have a handle on how C works. If you've figured out gcc you're doing pretty good already.