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

Respuesta :

Answer:

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.