Bitwise operations: Difference between revisions

Content deleted Content added
Ce (talk | contribs)
→‎{{header|C}}: Added C++; added return 0; to C main function (unlike C++, C requires this)
Ce (talk | contribs)
m →‎{{header|C++}}: oops, forgot lang end tag (you don't see that in section preview ...)
Line 215: Line 215:
std::cout << "c sra b: " << (c >> b) << '\n'; // logical right shift (guaranteed)
std::cout << "c sra b: " << (c >> b) << '\n'; // logical right shift (guaranteed)
}
}
</lang>


=={{header|Common Lisp}}==
=={{header|Common Lisp}}==