#include <stdio.h> int main() { int x,z; printf("Enter x value"); scanf("%d",&x); z=x<<2; printf("\n Bitwise Left Shift is: %d",z); return 0; }
Enter x value 10 Bitwise Left Shift is: 40
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Java program to print ‘Hello World!’ on screen
Write a Java program and compute the sum of the digits of an integer
Write a Java program to convert kilometers to miles.
Write a Java program to print the odd numbers from 1 to 20
Write a Java program to print the ascii value of a given character
Write a Python Program to Convert Decimal to Binary, Octal and Hexadecimal.
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 Check Prime Number.
Write a Python Program to Check if a Number is Odd or Even.
Write a python program to print flatten a nested list
Java Quiz - 12
Java Quiz - 5
Java Quiz - 11
Java Quiz - 10
Java Quiz - 9