Mid point of a linklist

nodeslow=head;
node
fast=head->next;
while(fast!=NULL&&fast->next!=NULL){
//code
}
//In this why are we writing fast!=NULL,in which case it will give a false value

in this if we had elements till 4 ,in step 3 fast would be ==null and therefore we need this condition