/* priklad pr4_1.c logicke a bitové operátory */

void main(void)
{
  int x=1,y=2;

  printf(" x = %d  y = %d  x&y = %d\n",x,y,x&y);
  printf(" x = %d  y = %d  x&&y = %d\n",x,y,x&&y);
  printf(" x = %d  y = %d  x|y = %d\n",x,y,x|y);
  printf(" x = %d  y = %d  x||y = %d\n",x,y,x||y);
}