Program to illustrate Decrement Operator


     # include <iostream.h>
     int main( )
     {
    int a = 5;
    cout <<"\n" <<a-- ;
    cout <<"\n" <<a-- ;
    cout <<"\n" <<a-- ;
    cout <<"\n" <<a-- ;
    cout <<"\n" <<a ;
        return 0;
      }

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|