what is bitwise operator?
Answer / harish
An operator that manipulates individual bits. The operators that we are are familiar with, such as the addition operator (+),multiplication (*),division (/) etc ... work with bytes or groups of bytes. Occasionally, however, programmers need to manipulate the bits within a byte. The C programming language supports the following bitwise operators:
>> Shifts bits right
<< Shifts bits left
& Does an AND compare on two groups of bits
| Does an OR compare on two groups of bits
^ Does an XOR compare on two groups of bits
~ Complements a group of bits
and lots more.....
| Is This Answer Correct ? | 5 Yes | 1 No |
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
Explain what header files do I need in order to define the standard library functions I use?
Does * p ++ increment p or what it points to?
What are # preprocessor operator in c?
Is it possible to pass an entire structure to functions?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Is double link list a linear data structure? If Yes, Why?If No, Why?
What is extern keyword in c?
what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason
Is int a keyword in c?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is the use of ?