Raised This Month: $ Target: $400
 0% 

Question operators "&&" / "||"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 12-10-2014 , 10:00   Re: Question operators "&&" / "||"
Reply With Quote #4

Quote:
Originally Posted by HamletEagle View Post
Also we have "&" which is for bits and check if a given bit is contained in a sum of bits.
& is actually bitwise AND operator and it multiplies every bit and returns the answer

example:
Code:
 1100
&0101
=0100
(1*0=0; 1*1=1; 0*0=0; 0*1=0)
jimaway is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode