Increment and Decrement Operators in c++




This video tutorial explains the increment and decrement operators in c++.
you will learn what are increment and decrement operators , how to use increment and decrement operators,using increment and decrement operators as postfix and prefix in detail with example.

source code for this tutorial

#include <iostream>

using namespace std;

int main()
{
    int a = 10;
    cout << --a << endl;
    cout << a;
    return 0;
}

 
Back To Top