Program to illustrate Unary Operator


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

0 comments:

Post a Comment

 
 
 
 


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