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 |
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
diff between exptected result and requirement?
What is a volatile keyword in c?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What is function prototype in c language?
how to introdu5ce my self in serco
Explain the difference between call by value and call by reference in c language?
int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?
When a c file is executed there are many files that are automatically opened what are they files?
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT
How can I open files mentioned on the command line, and parse option flags?