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 |
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What is array within structure?
Can we change the value of static variable in c?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
What is #include stdio h and #include conio h?
why we use pointer in c
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
which operator is known as dummy operator in c?
How to set file pointer to beginning c?
Write a program to reverse a linked list in c.
What are identifiers c?