MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a C-program to print bitwise AND operation?

  1. Home
  2. C Language Programs

Write a C-program to print bitwise AND operation?

Write a C-program to print bitwise AND operation

#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 AND is:  %d",z);
    
    return 0;
}
                                            

Output:

Enter x,y values 10 15
Bitwise AND is: 10




More Programs


17 . Write a C-program to print bitwise OR operation
18 . Write a C-program to print bitwise CAP operation
19 . Write a C-program to print bitwise NEGATION operation
20 . Write a C-program to print bitwise LEFT SHIFT operation
21 . Write a C-program to print bitwise RIGHT SHIFT operation
22 . Write a C-program to print odd or even number using ternary operator
23 . Write a C-program to print max number using ternary operator
24 . Write a C-program to print ODD or Even Number using if else condition
25 . Write a C-program to print max number using if else condition
26 . Write a C-program to check the given number is valid or invalid(value must divisible by 2 and 3)
27 . Write a C-program to check the given number is valid or invalid(value must divisible by 2 and 3 not 4)



Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers

Write a Java program to display the system time

Write a java Program to check the given number is Palindrome or not

Write a Java program that accepts an integer (n) and computes the value of n+nn+nnn

Write a java Program to check given matrix is null matrix

Python Practice Programs

Write a Python program to count number of digits in an integer

Write a Python program to find the area of a triangle.

Write a Python program that calculates the area of a circle based on the radius entered by the user.

Write a Python Program to find sum of array.

Write a python program to adding a thousand separator

Java Quiz

Java Quiz - 22

Java Quiz - 19

Java Quiz - 1

Java Quiz - 21

Java Quiz - 17

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs