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 |
What is the main differences between C and Embedded C?
Differentiate between declaring a variable and defining a variable?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Explain 'bus error'?
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,
What functions are in conio h?
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
Explain what are its uses in c programming?
What are the storage classes in C?
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,
How are structure passing and returning implemented?
Differentiate between the expression “++a” and “a++”?