What is Bitwise Operator and how it works?
bitwise operator is nothing but do logical manipulations in bits (lower format).
it needs 2 operands.
for eg : 7 & 2 &- bitwise AND
0000 0000 0000 0000 0111
0000 0000 0000 0000 0010
-------------------------
0000 0000 0000 0000 0010
this performs the operation in BIT level , so only C is called as middle level language and typed to be a strong ones......
| - bitwise OR
^ - bitwise EX-OR
~ - one's complement operator.
thank you
| Is This Answer Correct ? | 4 Yes | 0 No |
can we define a function in structure?
write a program to generate 1st n fibonacci prime number
Which is more efficient, a switch statement or an if else chain?
What is the output of below code? main() { static int a=5; printf("%3d",a--); if(a) main(); }
write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words
5 Answers Captronic, DELL, Google, IBM, Mithi, RCC, Wipro,
write a proram to reverse the string using switch case?
how to find turn around time in operating system?
What is the use of printf() and scanf() functions?
Are c and c++ the same?
Explain is it valid to address one element beyond the end of an array?
How. To pass the entrance test
Find the highest of three numbers and print them using ascending orders?