GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 119 of 258    Print  
Which bit wise operator is suitable for checking whether a particular bit is on or off?

  
Total Answers and Comments: 3 Last Update: September 11, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 07, 2005 07:14:46   #1  
Ashutosh        

RE: Which bit wise operator is suitable for checking ...
& operator
 
Is this answer useful? Yes | No
July 01, 2007 16:24:15   #2  
Ajay Kanse Member Since: July 2007   Contribution: 22    

RE: Which bit wise operator is suitable for checking ...
Bitwise OR - | is the correct answer- x x | SET_ON
 
Is this answer useful? Yes | No
September 11, 2008 07:51:54   #3  
Sudheendra.S.N Member Since: September 2008   Contribution: 1    

RE: Which bit wise operator is suitable for checking whether a particular bit is on or off?
XOR Operator is right. XOR the given bit with 1 if the bit is 1 then 0 is the o/p else 1 is the o/p.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape