I find that I learn languages by coding. I've not done much with coding C for non-MCU stuff recently... but there should be plenty of info online for learning the general syntax (math, function calls, variable types, etc) by working with command line input/output.