Different between using two operations 'and' and '&' in C++ ?

Revision en1, by luuchv, 2016-04-23 17:37:12

For example, in Code::Block "2 and 3 = 1" while "2 & 3 = 2" I don't know what's the different between 'and' and '&'. Please explain for me. Thank you.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English luuchv 2016-04-23 17:37:12 216 Initial revision (published)