A C programmer should not use an expression like the one that follows because ______.

n = i + x * ++i;

a. the expression may produce different results on different ANSI C compilers
b. it is illegal to have two consecutive operators
c. the ++ operator cannot be used in combination with other arithmetic operators
d. the increment operator cannot be used in the same expression as the addition operator
e. none of the above


a. the expression may produce different results on different ANSI C compilers

Computer Science & Information Technology

You might also like to view...

To call a member function for a specific object, you specify the object’s name, followed by a(n) ________, then the member function name and a set of parentheses.

a. dot operator b. colon c. :: d. ->

Computer Science & Information Technology

When a constructor has a member initialization list, the initializations take place

a. after any statements in the body of the con-structor execute b. before any statements in the body of the constructor execute c. when a member is used in the execution of the program d. None of these

Computer Science & Information Technology

Discuss the issue of naming applied to shared memory regions.

What will be an ideal response?

Computer Science & Information Technology

Are domain names case sensitive? What, if any, is the constraint on the length of domain names?

What will be an ideal response?

Computer Science & Information Technology