by Dinesh Thakur Category: Object-oriented programming (OOP)

 

#include <iostream.h>

#include<conio.h>
void main()
{
              int i;
              clrscr();
              i=0;
              cout<<"Before Post Decrement Value of i is : "<<i<<endl;
              i--;
              cout<<"After Decrement Value of i is : "<<i;
              getch();
}

Increment And Decrement Operator (Postfix)

Popular Article