Moved thread to C Programming and each of those if statements means checking if the condition is true or false. Integer is 0 is equivalent to false.