The C Programming Language 2nd Edition is a great book. Go ahead and continue reading it. Just make sure you explicit declare the main function returning an int and write "return 0;" before its closing }.
If it is not taking any arguments, declare it as "int main(void)".
Also, ignore when the authors cast whatever is returned by malloc.