#include <stdio.h> int main() { int x,z; printf("Enter x value"); scanf("%d",&x); z=x>>2; printf("\n Bitwise Right Shift is: %d",z); return 0; }
Enter x value 10 Bitwise Right Shift is: 2
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 print the ascii value of a given character
Write a Java program to convert a decimal number to binary numbers
Write a Java program to print the odd numbers from 1 to 20
Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers
Write a Java program to convert a string to an integer
Write a Python program to test whether a passed letter is a vowel or not.
Write a Python program to display the current date and time.
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 that concatenates all elements in a list into a string and returns it.
Write a Python program to find out what version of Python you are using.
Java Quiz - 19
Java Quiz - 5
Java Quiz - 2
Java Quiz - 4
Java Quiz - 15