Ask Question
16 August, 10:15

1) These are operators that add and subtract one from their operands. A) plus and minusB) + + and - -C) binary and unaryD) conditional and relationalE) None of theseAnswer: 2) What is the output of the following code segment? n = 1; while (n < = 5) cout << n << ' '; n++; A) 1 2 3 4 5B) 1 1 1 ... and on foreverC) 2 3 4 5 6D) 1 2 3 4E) 2 3 4 5Answer: 3) This operator increments the valu

+4
Answers (1)
  1. 16 August, 14:13
    0
    1) B: + + and - -

    2) B: 111 ... and on forever

    Explanation:

    + + and - - in most programming languages are used for incrementing (adding) by 1 or decrementing (substracting) by 1.

    The code will output 111 ... and on forever because the while loop was not covered in curly braces.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “1) These are operators that add and subtract one from their operands. A) plus and minusB) + + and - -C) binary and unaryD) conditional and ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers