#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 CAP is: %d",z); return 0; }
Enter x,y values 10 15 Bitwise AND is: 5
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 check whether Java is installed on your computer or not
Write a Java program to count the number of even and odd elements in a given array
Write a Java program to compute the square root of an given integer
Write a Java program to compare two numbers
Write a Java program to print the even numbers from 1 to 20
Write a Python program that concatenates all elements in a list into a string and returns it.
Write a Python program that accepts a filename from the user and prints the extension of the file.
Write a Python program to get n (non-negative integer) copies of the first 2 characters of a given string. Return n copies of the whole string if the length is less than 2.
Write a Python program to display the current date and time.
Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn.
Java Quiz - 18
Java Quiz - 11
Java Quiz - 12
Java Quiz - 15
Java Quiz - 3