Is it okay for me to presume in C or C++ or JavaScript or any other modern language that if I do…
bool funt1(void) {…}
bool funt2(void) {…}
if (funt1() && funt2()) {Some code}
… Am I guaranteed that both functions get called or if funt1
returns false can the compiler bail on me and never call funt2
?