Explain what a compound operator is, and what it consists of.
What will be an ideal response?
A compound operator allows you to add, subtract, multiple, divide, use modulus or exponents, or concatenate strings, storing the result in the same variable. An assignment statement that includes a compound operator begins with the variable that will contain the accumulated value, such as an accumulator or a counter, followed by the compound operator. A compound operator consists of an arithmetic operator and an equal sign. The last element in the assignment statement is the variable or literal containing the value to be used in the calculation
You might also like to view...
________ cable consists of a single copper wire surrounded by layers of plastic and is used to connect cable TV
Fill in the blank(s) with correct word
Passing a pointer to a pointer is called __________.
a) double direction b) pointer passing c) double indirection d) indirection