Answer Posted / vignesh1988i
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 |
Post New Answer View All Answers
write a program to generate address labels using structures?
Is fortran still used in 2018?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What is the difference between typedef struct and struct?
What is typedef example?
What is #include called?
What is structure padding and packing in c?
What is meant by errors and debugging?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Is c still relevant?
What is your stream meaning?
largest Of three Number using without if condition?
Where register variables are stored in c?
Explain how are portions of a program disabled in demo versions?