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 |
Describe newline escape sequence with a sample program?
Explain Doubly Linked Lists?
Why clrscr is used after variable declaration?
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
What is the right type to use for boolean values in c? Is there a standard type?
sir, i cannot find the way how to write aprogram by using array on queue
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
What is void main ()?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is c variable?
How macro execution is faster than function ?
where can function pointers be used?