vendredi 31 mai 2019

Difference between (int ret = 0; !ret && ret !=0)

What the difference between:

1) !ret
2) ret != 0

?

if (ret != 0 || stack[fd] == NULL || stack[fd][0] == '\0')
{
  if (!ret && *line)
    *line = NULL;
  return (ret);
}

Aucun commentaire:

Enregistrer un commentaire