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;
if(myInt !=0 && other % myInt !=0)
cout << "other is odd\n";
else
cout << "other is even\n";
a. other is even
b. other is odd
c. 0
d. run-time error, no output
d. run-time error, no output
Computer Science & Information Technology
You might also like to view...
Select the specific Windows server that is in the management scope of a Windows domain but does not have Active Directory installed.
A. workgroup server B. standalone server C. domain controller D. member server
Computer Science & Information Technology
____________________ is the legal capability of a business to install a wire or cable across someone's property.?
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology