mercredi 31 janvier 2018

Does it make a difference between using two if's in c++

Is there any difference between

if (firstCheck())
    return;

if (secondCheck())
    return;

and

if (firstCheck() || secondCheck())
    return;

?

The focus of my question is on the runtime!

Aucun commentaire:

Enregistrer un commentaire