#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
JDBC
JSP
Servlets
Java Quiz
C Material
C Programs
Java Interview Questions and Answers
SQL Interview Questions and Answers
100 Most Asked Java Interview Questions and Answers
Python Interview Questions
Write a Java program to count the letters, spaces, numbers and other characters of an input string
Write a Java program to convert seconds to hour, minute and seconds
Write a Java program that accepts an integer (n) and computes the value of n+nn+nnn
Write a Java program to check if a positive number is a palindrome or not
Write a Java program to compute the sum of the first 100 prime numbers
Write a Python program that concatenates all elements in a list into a string and returns it.
Write a Python program to count the number 4 in a given list.
Write a Python program to display the current date and time.
Write a Python program to display the first and last colors from the following list.
Write a Python program to calculate the sum of three given numbers. If the values are equal, return three times their sum.
Java Quiz - 23
Java Quiz - 6
Java Quiz - 2
Java Quiz - 4
Java Quiz - 9