#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 swap the first and last elements of an array and create a new array
Write a Java program to compute the square root of an given integer
Write a Java program to count the letters, spaces, numbers and other characters of an input string
Write a Program to find second largest number in an array
Write a Java Program to Check if a Number is Positive, Negative or Zero.
Write a python program to counting item occurrences
Write a Python Program to Display Fibonacci Sequence Using Recursion.
Write a Python Program to Find the Factorial of a Number.
Write a Python program that concatenates all elements in a list into a string and returns it.
Write a python program to display list of numbers and we want to return all the numbers from the list that are divisible by 2 and remove duplicates at the same time.
Java Quiz - 4
Java Quiz - 10
Java Quiz - 15
Java Quiz - 2
Java Quiz - 19