#include <stdio.h> int main() { int x,y,z; printf("Enter x,y values"); scanf("%d%d",&x,&y); z=x | y; printf("\n Bitwise OR is: %d",z); return 0; }
Enter x,y values 10 15 Bitwise AND is: 15
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Java program to print the even numbers from 1 to 20
Write a java Program to print N prime numbers and find sum and average
Write a java Program to check the given number is Palindrome or not
Add all the digits of a given positive integer until the result has a single digit
Write a Program to Find largest and smallest number in an array in java
Write a python program to Find the index of the largest number in the list
Write a python program to checking if a string is empty or not ?
Python Program to Replace all Occurrences of ‘a’ with $ in a String
Write a Python Program for cube sum of first n natural numbers?
Write a Python Program to calculate your Body Mass Index.
Java Quiz - 4
Java Quiz - 7
Java Quiz - 17
Java Quiz - 8
Java Quiz - 19