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 OR operation?

  1. Home
  2. C Language Programs

Write a C-program to print bitwise OR operation?

Write a C-program to print bitwise OR 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 OR is:  %d",z);
    
    return 0;
}
                                            

Output:

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




More Programs


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)
28 . Write a C-program to check the given number is valid or invalid(value must divisible by 2 and 3 not 4 using 2 conditions)



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 even numbers from 1 to 20

Write a java Program to print N prime numbers and find sum and average

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

Add all the digits of a given positive integer until the result has a single digit

Write a Program to Find largest and smallest number in an array in java

Python Practice Programs

Write a python program to Find the index of the largest number in the list

Write a python program to checking if a string is empty or not ?

Python Program to Replace all Occurrences of ‘a’ with $ in a String

Write a Python Program for cube sum of first n natural numbers?

Write a Python Program to calculate your Body Mass Index.

Java Quiz

Java Quiz - 4

Java Quiz - 7

Java Quiz - 17

Java Quiz - 8

Java Quiz - 19

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