+ 1
other operations
In c ++, are there other operations besides adding, subtracting, dividing and multiplying?
1 Resposta
+ 8
C++ uses operators to do arithmetic. It provides operators for five basic arithmetic calculations: addition, subtraction, multiplication, division, and taking the modulus. Each of these operators uses two values (called operands) to calculate a final answer.
we can also performe basic logic gate operation in cpp like and ,or ,exor ,not etc.