What the difference between the 'bitwise and' operator and the 'logical and' operator?



What the difference between the 'bitwise and' operator and the 'logical and' ope..

Answer / Vaneet Parkash

'&' is a bitwise AND operator that performs a bitwise operation on each corresponding binary digit of its operands. On the other hand, '&&' is a logical AND operator that returns true only if both expressions are true.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What does echo mean in php?

1 Answers  


How many open modes available when a file open in PHP?

1 Answers  


Difference between notify url, return url in paypal payment gateway?

4 Answers   A1 Technology, Capital IQ, CMS, Essar, HCL, IAS, Karvy, L&T, State Bank Of India SBI, TATA, Tisco, WNS,


What is the difference between explode () and split () functions in php?

1 Answers  


Does php have multiple inheritance?

1 Answers  


How many ways I can redirect a PHP page?

9 Answers   MicroSec, N-Tier Business Solutions, University Exams,


What is php session id?

1 Answers  


Which function would you use to determine the length of a string in php?

1 Answers  


Explain what does the unlink() function means?

1 Answers  


What is a string in r?

1 Answers  


What is active record in php?

1 Answers  


What is the use of stripslashes in php?

1 Answers  


Categories