what are operands in c++
Answers
Answered by
7
Answer:
At the heart of every C++ statement, simple or complex, is a set of operators. ... Operands are expressions or values on which an operator operates or works (often constants or variables but sub-expressions are also permitted).
Answered by
0
Answer:
An operand may any numerical value (known as literals in programming languages), variables, constant, function calling etc on which program makes an operation.
Explanation:
if we want to add two integer numbers through the expression (10+20), here 10 and 20 are being added through operator +, thus 10 and 20 are the operands. Same as if we want to add two variables through the expression (a+b), here a and b are being added through the operator +, this x and y are also the operands.
Similar questions