basic c question

You don't want a comma there. You want an || or &&