filmov
tv
C program to find odd or even no using bitwise operators // C Programming
Показать описание
HI All ,
This program will help you to know how to write a C program to find odd or even no using bitwise operators
Logic :
Let n be a number
if we do :
n &1 = 0000000d where d is the LSB of n
So,
If LSB ==1
It's odd number
Else
Even no
If you like our videos please like, share and subscribe the video.
# interview asked questions in C
# C interview questions
# information technology interview questions
# Computer engineering interview questions
This program will help you to know how to write a C program to find odd or even no using bitwise operators
Logic :
Let n be a number
if we do :
n &1 = 0000000d where d is the LSB of n
So,
If LSB ==1
It's odd number
Else
Even no
If you like our videos please like, share and subscribe the video.
# interview asked questions in C
# C interview questions
# information technology interview questions
# Computer engineering interview questions