(Move to ...)
▼
Bit-wise OR 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 <<"operand 2 = "<<b<<endl;
cout <<" operand1 OR operand2 ="<<c;
getch();
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment