Bit-wise AND Operator


    #include<iostream.h>
    # include <conio.h>
void main ()
    {
        int a , b , c ;

        a = 21 ;
        b = 37 ;
        c = a & b ;
        cout<<"operand1 = "<<a<<endl ;
        cout<<"operand2 = "<<b<<endl;
        cout<<"operand1 AND operand2"<<c;       
    }

0 comments:

Post a Comment

 
 
 
 


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