other operations | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

other operations

In c ++, are there other operations besides adding, subtracting, dividing and multiplying?

8th Dec 2017, 1:49 PM
Sevendays
Sevendays - avatar
1 Answer
+ 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.
8th Dec 2017, 2:11 PM
GAWEN STEASY
GAWEN STEASY - avatar