Introduction to Operators
Get acquainted with operators in C++.
We'll cover the following
Operators
In computer language, an operator is a symbol that takes one or more values as input and outputs another value after performing a particular operation.
Operands are the data items on which an operation is being done.
Example
Consider a group of four people sharing a pizza with eight slices. You want to give each person an equal share of pizza. How would you do that?
Operators come to the rescue in such situations. We will divide the number of pizza slices with the number of people present in a group.
Get hands-on with 1400+ tech skills courses.