Can I assume in C, C++, JavaScript, or any other modern language that if I have the following code snippet...
bool funt1(void) {…}
bool funt2(void) {…}
if (funt1() && funt2()) {Some code}
...I am guaranteed that both functions will be called, or is there a possibility that if funt1
returns false, the compiler may skip calling funt2
?