331 views
0 votes
0 votes
In C language, bitwise operation can be applied to which of the following operands

A. char                             B. int                             C. short, long                           D. All of these

1 Answer

0 votes
0 votes

Applicable for all the following data types. 

Exception :  The left shift and right shift operators should not be used for negative numbers. 

Answer:

Related questions

1 votes
1 votes
1 answer
1
rishu_darkshadow asked Nov 8, 2017
2,028 views
Semantic error can be detected at:A. compile timeB. RuntimeC. BothD. None of these
0 votes
0 votes
1 answer
2
rishu_darkshadow asked Nov 8, 2017
843 views
Program threats areA. Trojan Horse B. Trap Door C. Both D. None of them
0 votes
0 votes
1 answer
3
rishu_darkshadow asked Nov 8, 2017
2,636 views
In which of the following usually a front end processor is used ?A. Virtual storageB. TimesharingC. MultiprogammingD. Multithreading
3 votes
3 votes
1 answer
4
dd asked Jun 27, 2017
522 views
#include <stdio.h int main() { unsigned int m = 0; m |= 0xA38; printf("%x\n",m|(m-1)); printf("%x\n",( (m|(m-1)) + 1 ) & m ); }Find the output ?