The ++ and -- operators can be written before their operands, which is called ____________.

a. preface mode
b. post fix mode
c. prefix mode
d. superscript mode

c. prefix mode

Computer Science & Information Technology

You might also like to view...

The PMT function calculates the payment for a loan based on constant payments and at a constant interest rate

Indicate whether the statement is true or false

Computer Science & Information Technology

If you enter 1 0, what is the output of the following code?

``` #include using namespace std; int main() { // Read two intergers cout << "Enter two integers: "; int number1, number2; cin >> number1 >> number2; try { if (number2 == 0) throw number1; cout << number1 << " / " << number2 << " is " << (number1 / number2) << endl; cout << "C" << endl; } catch (int e) { cout << "A" << endl; } cout << "B" << endl; return 0; } ``` a. B b. AB c. A d. C

Computer Science & Information Technology