Operator
Operator is a symbol that tells the compiler to perform specific mathematical, relational or logical operation and produce final result.
CODE
#include <iostream>
using namespace std;
int main() {
    int a = 5;
    int b = 2;
    int add = a + b;
    int sub = a - b;
    int mul = a * b;
    //when it comes to Division a divided by b, Quotient Value will be taken
    int div = a / b;
    //Modulus is same as that of Division, only difference is instead of getting Quotient value it will get Remainder value
    int mod = a % b;
    cout << add << endl; //Output = 7
    cout << sub << endl; //Output = 3
    cout << mul << endl; //Output = 10
    cout << div << endl; //Output = 2
    cout << mod << endl; //Output = 1
}
(Click Here, For more exercises)