Examlex

Solved

If a Programming Language Does Not Use Short-Circuit Evaluation, What

question 40

Multiple Choice

If a programming language does not use short-circuit evaluation, what is the output of the following code fragment if the value of myInt is 0?
Int other=3, myInt;
IfmyInt !=0 && other % myInt !=0)
Cout << "other is odd\n";
Else
Cout << "other is even\n";


Definitions:

Related Questions