#include <stdio.h> int main() { int x,z; printf("Enter x value"); scanf("%d",&x); z=~x; printf("\n Bitwise Negation is: %d",z); return 0; }
Enter x value 10 Bitwise Negation is: -11
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Program to remove duplicate element in an array
Write a Program to find second largest number in an array
Write a Java program to check whether Java is installed on your computer or not
Write a Java program that takes two numbers and display the product of two numbers
Write a Java program that takes five numbers as input to calculate and print the average of the numbers
Write a Python Program for cube sum of first n natural numbers?
Write a python program to checking internet speed
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 accepts a sequence of comma-separated numbers from the user and generates a list and a tuple of those numbers.
Write a python program to Find the index of the smallest number in the list
Java Quiz - 20
Java Quiz - 16
Java Quiz - 21
Java Quiz - 11
Java Quiz - 22