Ask Question
10 October, 14:55

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. 10 October, 16: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?
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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers