Ask Question

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

+3
Answers (1)
  1. 30 December, 02:20
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers